JamesRandall / AngularJS-OAuth2

Package for allowing an AngularJS application to authenticate with an OAuth 2 / Open ID Connect identity provider using the implicit flow.
MIT License
46 stars 42 forks source link

Keep token after redirection #49

Open zios07 opened 6 years ago

zios07 commented 6 years ago

I'm struggling in finding a way to keep the token in the session storage when doing a redirection from an application residing in localhost:3000 to an other residing in localhost:3002. The thing is when the redirectionis performed, and as the token is located in the session storage of the first application, the session storage get cleared when changing the port because as I read, the session storage is unique per host and port. Do you have any suggestion to help me solve the problem? thanks is advance.