My situation is the following: I recently made a secure C# Rest-Service using OWIN & OAuth to store some data and access it with a PWA later. I started with a login.
My current problem is: where do I store the access token given by my Rest-Service? I will need it in other views as it has to be in the header of every single rest-request I send to the secure Rest-Service.
Would I use the serviceworker or some new way of session storage in Polymer 2.0(old ways seem to be deprecated) or something else?
I wanted to ask this here before I mindlessly choose an option myself and then have to write it all over again whenever I find a "better" way.