-
Notifications
You must be signed in to change notification settings - Fork 12.1k
feat: OAuth client scopes #27707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
supalarry
wants to merge
41
commits into
lauris/cal-7035-fix-invalidate-old-refresh-tokens
from
lauris/cal-7030-feat-oauth-client-scopes
+2,409
−365
Closed
feat: OAuth client scopes #27707
Changes from 8 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
4c88fa0
chore: delete unused input file
supalarry b254490
feat: create OAuth client with scopes
supalarry c3109b7
feat: authorize page validate scope
supalarry 2f5e771
chore: return scopes in refresh token next api
supalarry 4d50b49
chore: add new scopes in database
supalarry 5e87dc4
feat: permissions guard checks oauth token scopes
supalarry bdfd9ba
feedback
supalarry 0833647
refactor: permissions guard
supalarry 7e9e42f
fix: correct "compatability" typo to "compatibility" in test descript…
devin-ai-integration[bot] 6a23408
refactor: oauth2 controller return scope
supalarry 3b2d46f
fix: v2 oauth service dependencies
supalarry 909b4c0
refactor: reuse error constant
supalarry 241fc8b
refactor: OAuth client details dialog
supalarry 96a6fa7
remove comments
supalarry 6c01bad
remove comments
supalarry bf07a58
rename consts
supalarry 3cbf0e0
refactor: centralize constants
supalarry ec534a6
refactor: reuse oauth permissions constant
supalarry e8b8bc2
refactor: centralize scope param parsing
supalarry 20ed8a4
fix: limit endpoints OAuth access tokens can access
supalarry 8b2b1eb
Merge branch 'lauris/cal-7035-fix-invalidate-old-refresh-tokens' into…
supalarry 9dd3bca
Merge branch 'lauris/cal-7035-fix-invalidate-old-refresh-tokens' into…
supalarry da12867
third party scopes parity with permissions
supalarry 70719a1
docs: scope
supalarry 26b9038
refactor: adding new scope triggers re-approval
supalarry c158d6b
Merge branch 'lauris/cal-7035-fix-invalidate-old-refresh-tokens' into…
supalarry 336e4f3
refactor: leave legacy oauth clients as they are
supalarry 6f5b449
update docs
supalarry ffa8d04
Merge branch 'lauris/cal-7035-fix-invalidate-old-refresh-tokens' into…
supalarry 0f424ed
test legacy oauth client
supalarry d75192b
fix: build issue
supalarry eb52b2f
refactor: dont display scopes for legacy clients
supalarry 052da88
fix: allow updating legacy clients without scopes
supalarry f6a89f6
refactor: allow updating legacy oauth scopes
supalarry 1fedcd0
refactor: allow updating legacy oauth scopes
supalarry 751795e
fix: allow updating legacy clients without scopes
supalarry a6a61f2
refactor: validate state param in authorization page
supalarry d6b754a
refactor: when creating client dont check scopes by default
supalarry 56cfa68
docs
supalarry 1e32074
fix: unknown_scope -> invalid_scope
supalarry aaa4ac9
Merge branch 'lauris/cal-7035-fix-invalidate-old-refresh-tokens' into…
supalarry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 0 additions & 52 deletions
52
apps/api/v2/src/modules/auth/oauth2/inputs/authorize.input.ts
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.