CRamsan
10/11/2024, 3:46 AMCRamsan
10/11/2024, 3:48 AMCRamsan
10/11/2024, 5:51 AMretrieveUser
from the Auth instance, not Auth.admin.CRamsan
11/26/2024, 6:28 AMretrieveUser
signs in the library to the JWT token. There is no equivalent from the admin library to go from JWT to user. Is anyone aware of any alternative?Jan
11/26/2024, 3:13 PMretrieveUser
method only calls the API and returns the user, at no point is the user saved
CodeCRamsan
11/27/2024, 3:07 AMJan
11/27/2024, 5:56 PMPreferences
implementation with Preferences.userRoot()
as a delegate
The key, under which the session is stored, is determined by the Supabase URL. So unless that changed, it will point to the same value. You can however set the key yourself:
install(Auth) {
sessionManager = SettingsSessionManager(key = "myCustomKey")
}