firebase / firebase/snippets-web

Session management with service workers & firebase.auth.Auth.Persistence.SESSION

Open
#235 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
802
Forks
285
PR merge metrics
No merged PRs in 30d

Description

I've gotten session management with service workers to work as per [Session management with service workers](https://firebase.google.com/docs/auth/web/service-worker-sessions) and this [snippet](https://github.com/firebase/snippets-web/blob/81fcf30888909936d4898421e858da809f8cf595/auth/service-worker-sessions.js). I've also gotten Session persistence working. What I haven't been able to do is get both working at the same time. If I turn on session persistence (firebase.auth.Auth.Persistence.SESSION) with the FirebaseUI (web), bearer tokens are no longer passed. POC code is [here](https://github.com/maucaro/Concepto/tree/master/WebApp/wwwroot)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.