Fix IS Token Validation issues with AsgardeoV2 (Thunder) #342
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.
Purpose
This pull request introduces a minor type improvement to the internationalization model and enhances the authentication helper to support a new platform (AsgardeoV2), ensuring compliance with OpenID Connect Discovery specifications. The most important changes are:
Authentication Helper Enhancements:
AsgardeoV2and set the issuer endpoint to the base URL, aligning with RFC 8414 and OpenID Connect Discovery requirements. This ensures correct metadata endpoint derivation and improves standards compliance.ConfigandPlatformto support the new platform detection logic in the authentication helper.Internationalization Model Update:
directionproperty in theI18nMetadatainterface fromI18nTextDirectiontoI18nTextDirection | string, allowing for greater flexibility in specifying text direction.Related Issues
<BASE_URL>/oauth2/token#322Related PRs
Checklist
Security checks