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
I am using .Net 8 and I have used this package to integrate with a self hosted instance of Zitadel.
What I have noticed was that after being logged in, when the IDToken expires, I am always receiving an exception when trying to login again. This was never encountered on Firefox. Also, I am able to access my Zitadel instance.
Steps:
Login with a user in either Chrome or Edge.
Wait for the ID token to expire (12 hours in my case).
Open a new tab and try to login in.
Result:
An exception is encountered.
The errors logged on the .NET side, in Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler is:
Another problem with this issue is that I also couldn't replicate it on my dev environment in order to try debugging it better.
The text was updated successfully, but these errors were encountered:
sbosor
changed the title
Login using the same browser after token expired results in an exception
Login using the same browser after being idle / token expired results in an exception
May 17, 2024
Hello!
I am using .Net 8 and I have used this package to integrate with a self hosted instance of Zitadel.
What I have noticed was that after being logged in, when the IDToken expires, I am always receiving an exception when trying to login again. This was never encountered on Firefox. Also, I am able to access my Zitadel instance.
Steps:
Result:
An exception is encountered.
The errors logged on the .NET side, in Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler is:
Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException: Message contains error: 'invalid_request', error_description: 'Errors.AuthRequest.NotFound', error_uri: 'error_uri is null'.
Message contains error: 'invalid_request', error_description: 'Errors.AuthRequest.NotFound', error_uri: 'error_uri is null', status code '404'.
Configuration: I have the same configuration as the one presneted here and I am using the latest version of the Zitadel package (v.6.1.2):
https://github.com/smartive/zitadel-net/blob/main/examples/Zitadel.AspNet.AuthN/Program.cs
Another problem with this issue is that I also couldn't replicate it on my dev environment in order to try debugging it better.
The text was updated successfully, but these errors were encountered: