Skip to content
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

zitadel provider added in types.ts #980

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hbasria
Copy link

@hbasria hbasria commented Nov 12, 2024

What kind of change does this PR introduce?

Add Zitadel Provider

What is the current behavior?

Currently, auth-js does not support Zitadel as an authentication provider.

What is the new behavior?

With this PR, Zitadel will be available as a provider for authentication, allowing users to authenticate via Zitadel's OpenID Connect (OIDC) implementation.

    const { error, data } = await supabase.auth.signInWithOAuth({
      provider: 'zitadel',
      options: {
        redirectTo: `${origin}/auth/callback`,
        scopes: 'openid'  // This parameter is important
      }
    });

Additional context

Add any other context or screenshots.

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