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

Discord supports PKCE and requires it in mobile development #176

Open
ScreamZ opened this issue Oct 15, 2024 · 1 comment
Open

Discord supports PKCE and requires it in mobile development #176

ScreamZ opened this issue Oct 15, 2024 · 1 comment

Comments

@ScreamZ
Copy link

ScreamZ commented Oct 15, 2024

Using ARCTIC V2 I'm trying to use Discord provider in a React Native application using expo auth sessions.

Using PKCE mode I can redirect to native scheme URI myapp:// without PKCE it's not possible.

Could we implement PKCE in validation URL ?

@randreu28
Copy link

Arctic provides utilites for web-based flows. When using apps, the auth flow usually goes with build id's of your app. Meaning, it is the app itself, not your backend, who gets an oauth2.0 JWT for the provider.

For example, with Google sign in, you would register the name of the app build, as well as the signing certificate of that build
untitled

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

No branches or pull requests

2 participants