feat: add ory provider #417
Draft
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.
This pull request introduces support for Ory OAuth integration in the project. The changes include updates to configuration files, new functionality for handling Ory OAuth flows, and adjustments to existing code to accommodate the new provider.
Ory OAuth Integration:
ory.ts
insrc/runtime/server/lib/oauth/
to implement the Ory OAuth2 authorization code flow, including configuration options, token handling, and user information retrieval.src/module.ts
to include Ory-specific OAuth settings such asclientId
,clientSecret
,sdkURL
, and URLs for authorization, token, and userinfo endpoints.Configuration Updates:
NUXT_OAUTH_ORY_CLIENT_ID
,NUXT_OAUTH_ORY_CLIENT_SECRET
,NUXT_OAUTH_ORY_SDK_URL
) toplayground/.env.example
.UI Enhancements:
playground/app.vue
to include Ory as an available OAuth provider, with its label, route, and icon.Documentation and Types:
README.md
andsrc/runtime/types/oauth-config.ts
to include Ory in the list of supported OAuth providers. [1] [2]