Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interceptor don't work #83

Closed
ghost opened this issue Mar 3, 2016 · 2 comments
Closed

Interceptor don't work #83

ghost opened this issue Mar 3, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 3, 2016

I add this library in my project

works fine but if a do a $http.get or $http.post my header don't contain any baerer token

can we help me?

Thanks

This is my request header 👍
Accept
application/json, text/plain, /
Accept-Encoding
gzip, deflate
Accept-Language
it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
Connection
keep-alive
Host
pagandoangular.local:8080
Referer
http://pagandoangular.local:8080/
User-Agent
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0

My config :
.config(['OAuthProvider', function(OAuthProvider){
OAuthProvider.configure({
baseUrl: 'http://cliente2.pagando.local:8080',
clientId: 'testclient',
grantPath: '/oauth',
revokePath: '/oauth',
clientSecret: 'testpass' // optional
});
}]);

@ruipenso
Copy link
Member

Did you successfully retrieved a token after a getAccessToken call? Check if this is related to #21.

@ruipenso
Copy link
Member

ruipenso commented Feb 3, 2017

Closing this.

@ruipenso ruipenso closed this as completed Feb 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant