-
Notifications
You must be signed in to change notification settings - Fork 424
Closed
Description
actualy the oidc client support only full discovery, but some time when you have dual exposition of your idp (internet and private), and if the client application are executed on private network you need to overide userinfo to go through private network to access to the idp.
in this case we need the ability to overide all the provider endpoint url.
like to add setter to all the discovered url after Provider initialisation.
like that:
provider, err := oidc.NewProvider(ctx, issuerUrl)
if err != nil {
log.Fatal(err)
}
provider.setTokenURL("https://idp/mytokenurl")
provider.setAuthURL("https://idp/myauthurl")
provider.setUserInfoURL("https://idp/myuserinfourl")
provider.setDeviceAuthURL("https://idp/mydeviceauthurl")
provider.setJwksURL("https://idp/myjwksurl")
Metadata
Metadata
Assignees
Labels
No labels