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

Apache Config #503

Open
spectravp opened this issue Jan 21, 2015 · 5 comments
Open

Apache Config #503

spectravp opened this issue Jan 21, 2015 · 5 comments

Comments

@spectravp
Copy link

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

@bshaffer
Copy link
Owner

We do have this issue outlined here, but I suppose we could add your method in there as well

@spectravp
Copy link
Author

Ack! Wish I found that sooner. LOL. I never saw that that was documented inline in the code.

@bshaffer
Copy link
Owner

Yes, it's not super intuitive, and this is a very common issue people run into. Any suggestions on how to better clarify it?

@spectravp
Copy link
Author

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/

@bshaffer
Copy link
Owner

great idea!

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