Please note that security bugs or issues should be reported to security@pgadmin.org.
Describe the bug
While the documentation states that the variable OAUTH2_SERVER_METADATA_URL can be omitted when not using discovery, it still triggers an error at the connection of a client to PGADMIN :
{"success":0,"errormsg":"Missing \"jwks_uri\" in metadata","info":"","result":null,"data":null}
To Reproduce
Steps to reproduce the behavior:
- Setup a docker
- Enable OAUTH2 with all the necessary variables omitting
OAUTH2_SERVER_METADATA_URL as it's marked as a non-necessary variable if not using discovery
Expected behavior
If all the variables for OAUTH2 are correctly configured, PGAdmin should not complain about a missing jwks_uri.
Error message
{"success":0,"errormsg":"Missing \"jwks_uri\" in metadata","info":"","result":null,"data":null}
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. Windows 10, OSX monterey]
- pgAdmin version: [e.g. 6.15]
- Mode: [e.g Desktop or Server]
- Browser (if running in server mode): [e.g. chrome, safari]
- Package type: [e.g. RPM, DEB, Python, Container, etc.]
Additional context
Add any other context about the problem here.
Please note that security bugs or issues should be reported to security@pgadmin.org.
Describe the bug
While the documentation states that the variable
OAUTH2_SERVER_METADATA_URLcan be omitted when not using discovery, it still triggers an error at the connection of a client to PGADMIN :{"success":0,"errormsg":"Missing \"jwks_uri\" in metadata","info":"","result":null,"data":null}To Reproduce
Steps to reproduce the behavior:
OAUTH2_SERVER_METADATA_URLas it's marked as a non-necessary variable if not using discoveryExpected behavior
If all the variables for OAUTH2 are correctly configured, PGAdmin should not complain about a missing jwks_uri.
Error message
{"success":0,"errormsg":"Missing \"jwks_uri\" in metadata","info":"","result":null,"data":null}If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.