oauth-starter

module
v0.0.0-...-460bf52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2022 License: Apache-2.0

README

OAuth starter

Build results codecov

An application continuum style example using Golang that includes an OAuth 2 server with PKCE support.

Getting Started

Install the following prerequisites.

Build golang binaries with Pack.

pack build oauth-starter --builder heroku/buildpacks:20

Build and pack the frontend app with NPM.

cd web
npm run build
npm run pack
cd -

Run with docker compose.

docker-compose up

Development

Generate private and public keys.

openssl genrsa -out private.pem 2048
openssl rsa -in private.pem -pubout -outform PEM -out public.pem

That's a wrap for now.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL