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
So far everything is fine except that Session.Expired() always returns true for me. I checked what Expired() actually does and recreated it when I load and save the session:
The session should really just expire @ 13:16:22 UTC.
Since Expired() just checks if ExpiredAt < Now it always returns true for me. If I remove the check it works as intended.
Might be a problem with UTC time conversion? If I use DateTimeOffset(session.CreatedAt) instead of DateTime(session.CreatedAt.Ticks) I get the expected result.
Additional context
Might be a problem with just Azure? I have used Supabase before not never the auth part. Let me know if I need to provide more info.
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
Hello,
I am using Blazor WASM with Azure.
So far everything is fine except that
Session.Expired()
always returns true for me. I checked what Expired() actually does and recreated it when I load and save the session:The session should really just expire @ 13:16:22 UTC.
Since Expired() just checks if
ExpiredAt < Now
it always returns true for me. If I remove the check it works as intended.Might be a problem with UTC time conversion? If I use
DateTimeOffset(session.CreatedAt)
instead ofDateTime(session.CreatedAt.Ticks)
I get the expected result.Additional context
Might be a problem with just Azure? I have used Supabase before not never the auth part. Let me know if I need to provide more info.
The text was updated successfully, but these errors were encountered: