internet-identity icon indicating copy to clipboard operation
internet-identity copied to clipboard

How to authenticate from a react native app?

Open ehsan6sha opened this issue 3 years ago • 2 comments

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?

ehsan6sha avatar Jul 05 '21 03:07 ehsan6sha

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;

davidp94 avatar Jul 08 '21 06:07 davidp94

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

ehsan6sha avatar Jul 09 '21 01:07 ehsan6sha