Open drev74 opened 1 month ago
Please add oauth2 config Allowed JavaScript Origins
and Allowed Redirect URIs
to the plane helm chart :pray:
I'm using a layered proxy server, I don't know where the actual case is, but I'm trying to change this line https://github.com/makeplane/plane/blob/d859ab9c39b3f4510a1def8e80aff1cd8e8def51/apiserver/plane/authentication/provider/oauth/google.py#L46 to
redirect_uri = f"""https://{request.get_host()}/auth/google/callback/"""
after changing the code, restart the Gunicorn with ps aux | grep gunicorn
to find the PID of running service, then kill -HUP <pid>
IDK why it's working, because I'm not a py developer, also, I'm running on a self-hosted plane in my virtual Alpine Linux server.
Same issue here.
Is there an existing issue for this?
Current behavior
I followed your docs to allow oauth2 login with Google
Login with Google generates the following request:
This is invalid
redirect URI
. It takes name from one of my workspaces, which is incorrect. This gives me an invalid subdomain like : plane.my-workspace.com instead of a subpath like plane.mysite.com/my-workspaceCorrent
redirect_uri
, which was autogenerated in Plane's God Mode is:https://plane.my-site.com/auth/google/callback
This results in OAUTH2 error: invalid redirect URI
Steps to reproduce
Authenticaiton
Login with Google
Environment
Production
Browser
Google Chrome
Variant
Self-hosted
Version
0.23.1