Skip to content

feat: add ory provider #417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

Jorgagu
Copy link

@Jorgagu Jorgagu commented Jun 9, 2025

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:

  • New Ory OAuth handler: Added ory.ts in src/runtime/server/lib/oauth/ to implement the Ory OAuth2 authorization code flow, including configuration options, token handling, and user information retrieval.
  • Updated runtime configuration: Modified src/module.ts to include Ory-specific OAuth settings such as clientId, clientSecret, sdkURL, and URLs for authorization, token, and userinfo endpoints.

Configuration Updates:

  • Environment variables for Ory: Added Ory-specific environment variables (NUXT_OAUTH_ORY_CLIENT_ID, NUXT_OAUTH_ORY_CLIENT_SECRET, NUXT_OAUTH_ORY_SDK_URL) to playground/.env.example.

UI Enhancements:

  • Ory provider in UI: Updated playground/app.vue to include Ory as an available OAuth provider, with its label, route, and icon.

Documentation and Types:

  • Added Ory to supported providers: Updated README.md and src/runtime/types/oauth-config.ts to include Ory in the list of supported OAuth providers. [1] [2]

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.

1 participant