1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00
forgejo/routers
Marcell Mars 4eb8d8c496 OAuth2 provider: support for granular scopes
- `CheckOAuthAccessToken` returns both user ID and additional scopes
- `grantAdditionalScopes` returns AccessTokenScope ready string (grantScopes)
   compiled from requested additional scopes by the client
- `userIDFromToken` sets returned grantScopes (if any) instead of default `all`
2024-08-09 14:58:15 +02:00
..
api Adjust codespell config + make it fix few typos which sneaked in since addition of codespell support (#4857) 2024-08-08 16:07:35 +00:00
common Revert "Open telemetry integration (#3972)" 2024-08-07 11:22:43 +02:00
install Revert "Open telemetry integration (#3972)" 2024-08-07 11:22:43 +02:00
private feat(quota): Quota enforcement 2024-08-02 11:10:34 +02:00
utils [PORT] drop utils.IsExternalURL (and expand IsRiskyRedirectURL tests) (#3167) 2024-04-15 13:03:08 +00:00
web OAuth2 provider: support for granular scopes 2024-08-09 14:58:15 +02:00
init.go Revert "Open telemetry integration (#3972)" 2024-08-07 11:22:43 +02:00