oauth2-proxy / mockoidc

A Mock OIDC Server for Unit & Integration Tests
MIT License
68 stars 40 forks source link

feat: Add possibility to override base Issuer #35

Open vdbulcke opened 2 years ago

vdbulcke commented 2 years ago

Add a IssuerBaseUrl string that can be used to specify the base url to reach the mockoidc server.

Then if the IssuerBaseUrl != "" use it to generate the Urls, otherwise default to use m.Addr() for backward compatibility

Fixes: #34

lanwen commented 2 years ago

I would go in favor of #36