Skip to content

zenpk/my-oauth

Repository files navigation

MyOAuth

Self-hosted OAuth2.0 implementation, with PKCE support.

Note: This is the side-project of other side-projects.

Setup

Back End

Edit conf-prod.json file to configure the backend-related settings.

go build .
./myoauth --mode=prod

Front End

Edit the BASE constant in frontend/src/apis/basic.ts to point to the actual backend service endpoint.

npm ci
npm run build

Screenshot

screenshot

API

Due to being too lazy to write docs, please refer to the e2e folder.

Usage

Recommend using sdks.

About

Minimal self-host OAuth2.0, with JWT and PKCE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages