Feature Request: Multiple ServerUrl
MalteMagnussen opened this issue · 1 comments
MalteMagnussen commented
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 ✅ |
---|---|
![]() |
![]() |
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
Forceu commented
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