If public-url
is undefined, charm "works" (green/pod alive) but doesn't do anything useful
#18
Labels
public-url
is undefined, charm "works" (green/pod alive) but doesn't do anything useful
#18
If deployed and related to the appropriate charms but not set with a
public-url
, OIDC-gatekeeper will show:time="2022-02-11T18:18:01Z" level=error msg="OIDC provider setup failed, retrying in 10 seconds: Get /dex/.well-known/openid-configuration: unsupported protocol scheme \"\""
This will also result in a blank screen if trying to browse to the ingress IP because the dex+oidc handling of the login is broken. No useful messages are provided to the user to identify what is wrong.
I think at minimum we need better messaging about this to nudge users in the right direction. But I also think (? haven't thought it through deeply) the oidc-gatekeeper charm shouldn't be live at all if it has no
public-url
. Withpublic-url=""
it just tries to do the auth flow with a non-sensical IP address. A deeper look into this might show we're doing it right but it seems worth a look. Either way, for our purposes I don't thinkjuju status
should show green if this is the case as no users can log inThe text was updated successfully, but these errors were encountered: