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

Authenticated service #37

Closed
mrizzellowide opened this issue Jan 4, 2018 · 2 comments
Closed

Authenticated service #37

mrizzellowide opened this issue Jan 4, 2018 · 2 comments

Comments

@mrizzellowide
Copy link

Hello,
I'm trying to use ngx-jsonapi with oAuth2 authentication.
Could you tell me if it is feasible? Is there any documentation on it?
Thank you.

@danpoland
Copy link

Are you just trying to attach the access token to requests? If so, you can use HttpInterceptors in Angular.

https://angular.io/api/common/http/HttpInterceptor

@mrizzellowide
Copy link
Author

Yup! Seems to be the solution. I didn't know about Interceptors.
Thank you very much!

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

2 participants