Closed chaminjay closed 1 year ago
Got the same issue when the apps get the authorization code and session state. At this point, if we check theisAuthenticated
flag, we get false, which is incorrect. This caused an endless loop, as the sdk continuously tries to get the user authenticated.
App type: Create React App
Node Version: 16.15.0
OS: macOS
pnpm Version: 7.11.0
Describe the issue:
state.isAuthenticated
returns false even after signed into the application successfully. It returns true only ifsignIn()
method invoked manually. i.e. clicking the "Login" button againHow to reproduce:
isAuthenticated
Expected behavior:
isAuthenticated
should returntrue
if the user has successfully signed in.Environment information (Please complete the following information; remove any unnecessary fields) :