Authorization header on request to ressource server #926
Comments
|
Which Webserver do you use? For an setup with apache, following entry to my .htaccess helped me:
Also make sure you enabled mod_rewrite... |
|
Thanks @reb3r finally my issue was linked to the preflight request on an ajax POST.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
Once I retrieved an access_token I am trying to get a ressource through an ajax request.
I pass the access_token in the request header
Authorization: Bearer the_access_tokenI have 401 all the time. Does the ressource server accept this way to pass the access_token or should I send (which I find less secure and inelegant) the access_token in query string ?
I'm not sure I will receive an answer as this repo seems abandoned, but if someone could confirm it would be great
Thank you
The text was updated successfully, but these errors were encountered: