oauthjs/angular-oauth2

Some problems with $cookies & headers with Authorization.

surnamename opened this issue · 2 comments

Hi all!
I have an issue with putting $cookie (angular-oauth2 put nothing into $cookie). There is no token... And after I'm get token I can't sent other queries because of no Authorization header.. it's undefined. Could some one help me with it?

Hi , same issue here...
After successful authentication, the cookie doesn't seem to be stored and isAuthenticated returns false
strange :)
if anyone has an idea, it would be great ^^

Have you included angular-cookies?
Are you using HTTS? Did you configured the OAuthToken with secure option properly?