Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(ctx context.Context, oidcConfig *OIDCConfig, issuerURL string, doPKCE bool) (rawIDTokey string, err error)
* Gets an OpenID Connect authorization token from the authorization provider (issuer). * It firsts discuvers the authorization endppoint from the issuerURL. Then, it * opens a browser window towards the authorization endpoint. A local webserver is temporarily * started at a random port to retrieve the issued authorization token. * This token is then returned as an http url-encoded string.
Types ¶
type OIDCConfig ¶
type OIDCIssuerConfig ¶
type OIDCIssuerConfig = []*OIDCConfig
Click to show internal directories.
Click to hide internal directories.