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
But implemented auth with clerk_flutter as it gives better control. I am using riverpod for state mangement.
Proposal
The problem I am facing is when i sign in need a way to save latest session token that I can use in Authentication header while making request to my backend with is using this (Implementation)[https://clerk.com/changelog/2023-11-08] for user auth vaildation.
I tried with lastSession that sdk provides but failed as I get expired token error. Also, I am not able to determine if user is authenticated or not with the help of session token (if exists locally then it authenticated else no).
The text was updated successfully, but these errors were encountered:
Use case
I am working on a project where we have backend in hono and frontend is a mobile app in flutter. I tried
But implemented auth with
clerk_flutter
as it gives better control. I am using riverpod for state mangement.Proposal
The problem I am facing is when i sign in need a way to save latest session token that I can use in
Authentication
header while making request to my backend with is using this (Implementation)[https://clerk.com/changelog/2023-11-08] for user auth vaildation.I tried with
lastSession
that sdk provides but failed as I get expired token error. Also, I am not able to determine if user is authenticated or not with the help of session token (if exists locally then it authenticated else no).The text was updated successfully, but these errors were encountered: