Skip to content

Conversation

@brionmario
Copy link
Member

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:

  • Updated the authentication helper to detect when the platform is AsgardeoV2 and 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.
  • Added imports for Config and Platform to support the new platform detection logic in the authentication helper.

Internationalization Model Update:

  • Relaxed the type of the direction property in the I18nMetadata interface from I18nTextDirection to I18nTextDirection | string, allowing for greater flexibility in specifying text direction.

Related Issues

Related PRs

  • N/A

Checklist

  • Followed the CONTRIBUTING guidelines.
  • Manual test round performed and verified.
  • Documentation provided. (Add links if there are any)
  • Unit tests provided. (Add links if there are any)

Security checks

@asgardeo-github-bot
Copy link

🦋 Changeset detected

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

@brionmario brionmario merged commit c5a7bcb into asgardeo:main Jan 29, 2026
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: fix the issuer to use the base url of the Authorization Server rather than <BASE_URL>/oauth2/token

3 participants