Skip to content
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

Feature Request: Multiple ServerUrl #172

Open
MalteMagnussen opened this issue Jun 11, 2024 · 1 comment
Open

Feature Request: Multiple ServerUrl #172

MalteMagnussen opened this issue Jun 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@MalteMagnussen
Copy link

We would like to serve our Gokapi production deployment at multiple URL's, but it doesn't really seem to work with OIDC.

If ServerUrl in config.json matches the URL visited, then the OIDC works.

If we use the other URL, then OIDC gives an error.

Environment where ServerUrl doesn't match ❌ Environment where ServerUrl matches ✅
image image
OIDC does not work OIDC works perfectly

So I assume that the ServerUrl has something to do with this.

Because when I swap the ServerUrl from one to the other, then it also swaps which one works.

Here is js console as well

pgbounder(3)

@Forceu
Copy link
Owner

Forceu commented Jun 14, 2024

Implementing such a feature would be quite a lot of effort. I would be happy to merge a pull request, but the easiest way would be to instruct your reverse proxy to rewrite the URL that is being sent to the OIDC provider

@Forceu Forceu added the enhancement New feature or request label Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants