Authentication Guide
Authority provides a simple yet flexible authentication system using OAuth.
Setting up OAuth
Register your application with the desired OAuth provider.
Obtain the client ID and client secret.
Set these in the environment variables
OAUTH_CLIENT_ID
andOAUTH_CLIENT_SECRET
.
OAuth Flow
Users will be redirected to the OAuth provider for authentication.
Once authenticated, the provider will return an authorization code.
This code can be exchanged for an access token, which can be used for further API requests.
Last updated