Test App: logout flow
This commit is contained in:
@ -83,6 +83,7 @@ func getServiceContainer(ctx context.Context, conf *config.Config) (*service.Con
|
||||
ctn.Provide(oidc.ServiceName, oidc.ServiceProvider(
|
||||
oidc.WithCredentials(conf.OIDC.ClientID, conf.OIDC.ClientSecret),
|
||||
oidc.WithProvider(provider),
|
||||
oidc.WithScopes("email", "openid"),
|
||||
))
|
||||
|
||||
return ctn, nil
|
||||
|
@ -3,8 +3,10 @@
|
||||
<section class="home is-fullheight section">
|
||||
<div class="container">
|
||||
{{template "header" .}}
|
||||
<h2 class="is-size-4">Jeton OpenID Connect</h2>
|
||||
<h2 class="is-size-4">IDToken</h2>
|
||||
<pre>{{ .JSONIDToken }}</pre>
|
||||
<h2 class="is-size-4">Claims</h2>
|
||||
<pre>{{ .JSONClaims }}</pre>
|
||||
{{template "footer" .}}
|
||||
</div>
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user