From 707029d431ade2a88a34645989f9dc37e686226c Mon Sep 17 00:00:00 2001 From: Livio Amstutz Date: Tue, 29 Sep 2020 08:40:32 +0200 Subject: [PATCH] update example --- example/client/app/app.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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