lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

[Feat]: Allow for configuring base URL for Oauth redirect URL

Open lanedsmu opened this issue 1 year ago • 1 comments
trafficstars

The redirect URL sent to an Oauth IdP like Keycloak appears to be hard-coded using the default SSL port of 443.
For those running a true out-of-the-box Docker deployment, or for those testing LowCoder on a system with multiple web sites, 443 may not be an option for hosting Lowcoder, in which case the redirect URL sent to the Oauth provider will fail.

If it were possible configure--either through environment variable or Docker-compose.yaml entries--a base URL that was used to construct URLs like the Oauth redirect URL, that would allow users to run Lowcoder on nonstandard SSL ports.

lanedsmu avatar Apr 22 '24 22:04 lanedsmu

Hmm. We cannot confirm that this would be hard-wired in the code. We will test it and come back

FalkWolsky avatar May 08 '24 20:05 FalkWolsky

We added this in v2.4.0 with the Generic OAUTH Provider Config. Thank you for your patience!

FalkWolsky avatar May 19 '24 12:05 FalkWolsky