-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Cannot retrieve OAuth Client credentials: undefined #3691
Comments
Hello, Please fill the bug template so we can help you. |
Sorry,
|
What is the config in https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L6? |
My production.yaml file starts with the following lines as I am behind an ssl reverse proxy. PeerTube real ip address is not routable. listen: webserver: So to access this instance you go the following path: |
Please check your reverse proxy correctly forward the Check also your server logs to see what peertube expects: https://github.com/Chocobozzz/PeerTube/blob/develop/server/controllers/api/oauth-clients.ts#L26 |
Hi @Chocobozzz, maybe i am missing some nginx modules as as you stated the real ip header is not passed even i am using the nginx.conf that comes with 3.0.1. |
You need https://nginx.org/en/docs/http/ngx_http_proxy_module.html But maybe it's another part in front of your nginx server that does not correctly set the host: https://github.com/Chocobozzz/PeerTube/blob/develop/support/nginx/peertube#L64 |
Hi,
I still have this issue even after upgrading to 3.0.1 and when trying to login i get the error message: Cannot read property 'res' of undefined
The text was updated successfully, but these errors were encountered: