GSingh01/ad-b2c-react-native

Use Expo Secure store, not working as expected

Opened this issue · 0 comments

I had the login working without any secure store,
When I added the Expo Secure store, I expected the token to be save, and then when I restart the app I would be authenticated straight away. But I could get this to work.
It appears to read the tokens ok, but then getTokensAsync returns a empty token after calling handleSignInAsync.

What is the the correct flow in this case? Or do you hvae an example using the Expo Secure Store?