-
Notifications
You must be signed in to change notification settings - Fork 605
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
Improper PGADMIN4 redirect URI #7389
Comments
Hi @shantanumitra62, |
Hi Team, Please help us on this. |
Hi Team, hi @akshay-joshi , Regards |
Hi @shantanumitra62, what is the oauth2-header in your URL ( https://server:80/pgadmin4/oauth2-header/oauth2-header) ? |
Hi @khushboovashi , 'OAUTH2_NAME': '', |
@shantanumitra62, send me the entire config file. |
Hi @khushboovashi , and we are doing exactly the same, so as per this link the config-map is the configuration file which I have shared it with you. Can you please suggest now |
Hi @shantanumitra62,
|
Hi @adityatoshniwal , |
Hi @khushboovashi @adityatoshniwal , |
@shantanumitra62, the redirect URL should be configured at the Oauth2 provider site. Can you share a screenshot of your OIDC provider settings? |
Hi @khushboovashi, So based on the above configuration I have already provided the configuration parameters we are creating using configmap with the file config_local.py with these values: Now that we have provided the values to configure oauth2 authentication, the pgadmin redirects us to the oidc provider login page for authentication but here the pgadmin application instead of providing us with the proper redirect uri which in our case should be Please note: pgAdmin is hosted behind our Load Balancer and we are passing a header "X-Scheme = https" explicitly to specify the requester that the request is served over HTTPS. |
Hi @shantanumitra62, we can schedule a screen-sharing session between 10 AM to 5 PM IST. Share the link to join. |
Thank you @khushboovashi for the screen sharing offer, surely let me discuss with my team on this and I will get back to you. |
HI @adityatoshniwal @khushboovashi , Regards |
@shantanumitra62 |
Hi @yogeshmahajan-1903 , |
Hi Team,
We are using PGadmin(Image:7.4) behind a load balancer running on AKS cluster and we are terminating ssl at the load balancer so the requests are reaching on port80 , now we want to configure OIDC but the redirect url still contains port 80 like this:
https://server:80/pgadmin4/oauth2-header/oauth2-header
We have already set the http request header X-Scheme to "https" and in addition X-forwarded-port to "443", but this seems to have no effect so can you please have a look at this and let us know which header or property should we set to achieve a redirect uri without port number
The text was updated successfully, but these errors were encountered: