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

How to authenticate from a react native app? #340

Open
ehsan6sha opened this issue Jul 5, 2021 · 2 comments
Open

How to authenticate from a react native app? #340

ehsan6sha opened this issue Jul 5, 2021 · 2 comments

Comments

@ehsan6sha
Copy link

Hi
How can I authenticate(signin, signup, singout, check authentication) from a react native (expo) app?
Is there any library I can import or any http calls I can use?

@davidp94
Copy link

davidp94 commented Jul 8, 2021

I am exploring https://reactnative.dev/docs/security#oauth2-and-redirects

Deeplinking should not be used to pass secrets; and the internet-identity does not supports PKCE;

@ehsan6sha
Copy link
Author

I am exploring https://reactnative.dev/docs/security#oauth2-and-redirects

Deeplinking should not be used to pass secrets; and the internet-identity does not supports PKCE;

I tried catching the postMessage response from II with no luck. WebView is not supported by II and I could not fetch the message from II using any other method

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