diff --git a/example/client/app/app.go b/example/client/app/app.go index a2fff44..b747474 100644 --- a/example/client/app/app.go +++ b/example/client/app/app.go @@ -97,8 +97,8 @@ func main() {
- - + +
` @@ -131,7 +131,7 @@ func main() { http.Error(w, err.Error(), http.StatusInternalServerError) return } - token, err := rp.JWTProfileAssertionExchange(ctx, assertion, oidc.Scopes{oidc.ScopeOpenID, oidc.ScopeProfile}, provider) + token, err := rp.JWTProfileAssertionExchange(ctx, assertion, scopes, provider) if err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) return