Skip to content

feat: add Asgardeo authentication provider#1889

Open
srinidhipappu wants to merge 1 commit into
nuxt-community:devfrom
srinidhipappu:feat/asgardeo-provider
Open

feat: add Asgardeo authentication provider#1889
srinidhipappu wants to merge 1 commit into
nuxt-community:devfrom
srinidhipappu:feat/asgardeo-provider

Conversation

@srinidhipappu

@srinidhipappu srinidhipappu commented Jul 8, 2026

Copy link
Copy Markdown

What does this PR do?

This PR adds an official Asgardeo authentication provider to @nuxtjs/auth. The new provider uses the existing OpenID Connect scheme and automatically derives the Asgardeo OIDC discovery endpoint from the configured issuer, allowing Nuxt developers to integrate Asgardeo authentication with minimal configuration instead of manually setting OIDC endpoints.

Why was this PR needed?

This PR addresses issue #364. Currently, Asgardeo users must configure a generic OpenID Connect strategy manually, including discovery endpoints, token handling, and authentication settings. Investigation showed that the existing OpenID Connect scheme already supports the required authentication flow, including authorization code flow, PKCE, token handling, user information retrieval, and logout through discovery.

This implementation adds a dedicated provider that follows the same architecture as existing providers, such as Auth0, while reusing the existing OpenID Connect functionality. Developers only need to provide the Asgardeo clientId and issuer, and the provider handles the remaining configuration automatically.

What are the relevant issue numbers?

Closes #364

Does this PR meet the acceptance criteria?

  • Tests added for new/changed behavior
  • All tests passing
  • Follows project style guide
  • No breaking changes introduced
  • Documentation updated (if applicable)

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.

v4.6.0 breaks the expires time given as number

1 participant