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
Firebase: POST https://identitytoolkit.googleapis.com/v1/projects/{targetProjectId}/:createSessionCookie
Emulator: POST http:/localhost:9099/identitytoolkit.googleapis.com/v1/projects/{targetProjectId}/:createSessionCookie
Should be:
Firebase: POST https://identitytoolkit.googleapis.com/v1/projects/{targetProjectId}:createSessionCookie
Emulator: POST http:/localhost:9099/identitytoolkit.googleapis.com/v1/projects/{targetProjectId}:createSessionCookie
Also, I found that CreateSessionCookieVerifier() has missing setup for IsEmulatorMode argument and that causing the error when validate session cookie from emulator.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
CreateSessionCookieAsync
always results with Not Found status code. (Tested with Emulator)PostAndDeserializeAsync
method builds URL always including/
character between base Url and Path.In case of createSessionCookie API the result url will be wrong:
Current:
Should be:
Relevant Code:
firebase-admin-dotnet/FirebaseAdmin/FirebaseAdmin/Auth/Users/FirebaseUserManager.cs
Line 386 in 0870aa6
firebase-admin-dotnet/FirebaseAdmin/FirebaseAdmin/Auth/Users/FirebaseUserManager.cs
Line 430 in 0870aa6
The text was updated successfully, but these errors were encountered: