i am working on react application which uses oidc client library to authenticate users using identity server 4. Authentication is working fine all scenarios except two.
- When using IE in private mode
- When using Edge in private mode
All other browsers work as as normal (both normal mode or incognito/private) modes
The code i'm using in is:
Log.logger = console;
Log.level = Log.ERROR;
new UserManager({ response_mode: "query" }).signinRedirectCallback()
.then(user => {
this.signInUser = user;
})
.catch(e => {
console.log(e);
});
I'm getting below error only in edge and IE in private mode.
OidcClient.readSigninResponseState: No matching state found in storage
UserManager.getUser: user not found in storage
Error: No matching state found in storage
Anyone came a cross this issue? really appreciate any help