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
If I have a JWT token that was created using, for example, the SupabaseJS library, is it possible to create a session with that JWT token so that my Next.js frontend can directly use authenticated APIs in Rust?
The text was updated successfully, but these errors were encountered:
The closest thing that comes to mind would be if you have a session from the JS library you could use the refresh token generate a new Session on the rust side like so:
let new_session = auth_client
.refresh_session(&refresh_token).await.unwrap();
If I have a JWT token that was created using, for example, the SupabaseJS library, is it possible to create a session with that JWT token so that my Next.js frontend can directly use authenticated APIs in Rust?
The text was updated successfully, but these errors were encountered: