ngx-oauth-client icon indicating copy to clipboard operation
ngx-oauth-client copied to clipboard

OAuth with basic authentication

Open BlackTurtle123 opened this issue 6 years ago • 1 comments

Hello, I am trying to get this working with OAuth and basic authentication. So the client should be able to send a basic auth header in the token request, if I am correct this isn't implemented yet? Can you confirm? If it's implemented, any example how to do this?

BlackTurtle123 avatar Mar 12 '18 09:03 BlackTurtle123

The only opinionated functionality this library provides is that we set your response from a successful authentication request in local storage(which will change later).

If you are wanting to attach a token you've obtained after succesfully authenticating with your API you will need to manually do so with a request interceptor. There is an example in the readme demonstrating how to do so, but it seems there is an error as there is no space between the token type and token itself so you may want to add that.

0xMatt avatar Mar 13 '18 07:03 0xMatt