Identity & authentication for Maintained services
- User authenticates with GitHub using Maintained GitHub app (public scope only)
- User is redirected to id.maintained.cc with OAuth code, state
- Maintained-ID uses GitHub to translate this into a GitHub token
- Maintained-ID uses token to retrieve user's GitHub UUID (username)
- UUID is signed into a JWT which is returned to the user
- JWT can now be used across any Maintained service to authenticate
- Deno ≥ 1.18.0
.env
(see.env.example
)
deno test
deno run -A main.ts