-
Notifications
You must be signed in to change notification settings - Fork 955
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
Apache Config #503
Comments
We do have this issue outlined here, but I suppose we could add your method in there as well |
Ack! Wish I found that sooner. LOL. I never saw that that was documented inline in the code. |
Yes, it's not super intuitive, and this is a very common issue people run into. Any suggestions on how to better clarify it? |
Of course, I would leave it inline in the code, but what about adding it to this page of the documentation under "Requirements" or "Installation"? http://bshaffer.github.io/oauth2-server-php-docs/ |
great idea! |
This took me a while to figure out. I was able to successfully get an access token, but any other request using the access token would result in 403 forbidden. Turns out that on Apache 2.4 I had to add the code below to my config. Afterwards all worked fine.
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
The text was updated successfully, but these errors were encountered: