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

feat: add zitadel provider #201

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

Conversation

cortopy
Copy link

@cortopy cortopy commented Nov 11, 2024

This PR adds a provider for Zitadel

Copy link
Owner

@pilcrowonpaper pilcrowonpaper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad timing, but I recently added a generic OAuth client to Arctic. Can you use that instead (see other providers)? It should greatly simply the implementation

private tokenRevocationEndpoint: string;

constructor(
domain: string,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rename this to baseURL?


constructor(
domain: string,
readonly clientId: string,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know it's a bit verbose, but can you manually define the clientId and redirectURI like the rest of the codebase?

this.clientId = clientId
this.redirectURI = redirectURI

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.

2 participants