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

Question because Bad access token with a local client and a remote server oauth #91

Open
TheEyes007 opened this issue May 17, 2022 · 1 comment

Comments

@TheEyes007
Copy link

Hello,

I just set up an oauth server and hwi client which works very well in localhost.

However, when I want my client to communicate locally to a remote oauth server, it cannot recover the resources (/api).

The access token seems invalid since it gives me a 401 error.

Have you ever encountered this problem and any solutions to offer me ?

Symfony : 5.4.*
Php : 8.0 on server en 7.4 on client.

Thank you in advance for your return.

@TheEyes007
Copy link
Author

Hello,

the problem has been solved, it came from the apache configuration. The apache pack was active on symfony. On the vhost side, it was configured with a fallcallback (not necessary with apache pack). The AllowOverride All mention necessary to take into account the htaccess of the public folder was missing. Have a good day.

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

1 participant