You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello together, i've tried to integrate @asgardeo/auth-react into my React project to handle the login functionality via WSO2. After calling the signIn function from the useAuthContext-Hook, i get correctly redirected to the login page where i can input the data. After successful login, i get redirected back to my application, where a token-Request is being sent out automatically - that works also. However the state.isAuthenticated variable always stays false - despite the sucessful login.
Found the solution - it turns out, the well-known endpoint of my instance was different that the default one.
All i had to do is to mention the URL of my endpoint as wellKnownEndpoint attribute inside the config object.
Describe the issue:
Hello together, i've tried to integrate
@asgardeo/auth-react
into my React project to handle the login functionality via WSO2. After calling thesignIn
function from the useAuthContext-Hook, i get correctly redirected to the login page where i can input the data. After successful login, i get redirected back to my application, where a token-Request is being sent out automatically - that works also. However the state.isAuthenticated variable always staysfalse
- despite the sucessful login.State during login:
State after login:
Sucessful token fetch:
How to reproduce:
Expected behavior:
Environment information (Please complete the following information; remove any unnecessary fields) :
Optional Fields
Related issues:
#143
The text was updated successfully, but these errors were encountered: