-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update handling of OAuth2 authentication in resource server types #de…
…ploy-idporten-frontend Replaced TOKEN_X with OAUTH2 for OAuth2AuthenticationToken and added OAUTH2 to ResourceServerType enum. Updated user ID resolution logic to support OAUTH2 by mapping its "pid" attribute, ensuring compatibility with OAuth2 flows.
- Loading branch information
Showing
3 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ | |
|
||
public enum ResourceServerType { | ||
TOKEN_X, | ||
AZURE_AD | ||
AZURE_AD, | ||
OAUTH2 | ||
} |