docs: add supported scopes of oauth provider
This commit is contained in:
parent
5e8a1e3c0d
commit
bdf0e74af3
|
@ -10,6 +10,13 @@ This provider uses the commonly used OpenID Connect variation of OAuth2.
|
|||
|
||||
This provider is slightly different than the OpenID Provider. While it uses the same basic OAuth2 Protocol, it provides a GitHub-compatible Endpoint. This allows you to integrate Applications, which don't support Custom OpenID Providers.
|
||||
The API exposes Username, E-Mail, Name and Groups in a GitHub-compatible format.
|
||||
This provider currently supports the following scopes:
|
||||
|
||||
- `openid`: Access OpenID Userinfo
|
||||
- `userinfo`: Access OpenID Userinfo
|
||||
- `email`: Access OpenID Email
|
||||
- `user:email`: GitHub Compatibility: User Email
|
||||
- `read:org`: GitHub Compatibility: User Groups
|
||||
|
||||
## SAML Provider
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ OAUTH2_PROVIDER = {
|
|||
# this is the list of available scopes
|
||||
"SCOPES": {
|
||||
"openid": "Access OpenID Userinfo",
|
||||
"openid:userinfo": "Access OpenID Userinfo",
|
||||
"userinfo": "Access OpenID Userinfo",
|
||||
"email": "Access OpenID Email",
|
||||
"user:email": "GitHub Compatibility: User Email",
|
||||
"read:org": "GitHub Compatibility: User Groups",
|
||||
|
|
Reference in New Issue