@@ -64,7 +64,7 @@ const config = {
6464 issuer: ' <YOUR_ISSUER_URL>' ,
6565 clientId: ' <YOUR_CLIENT_ID>' ,
6666 redirectUrl: ' <YOUR_REDIRECT_URL>' ,
67- scopes: ' <YOUR_SCOPES_ARRAY>'
67+ scopes: [ ' <YOUR_SCOPES_ARRAY>' ],
6868};
6969
7070const result = await authorize (config);
@@ -113,7 +113,7 @@ const config = {
113113 issuer: ' <YOUR_ISSUER_URL>' ,
114114 clientId: ' <YOUR_CLIENT_ID>' ,
115115 redirectUrl: ' <YOUR_REDIRECT_URL>' ,
116- scopes: ' <YOUR_SCOPES_ARRAY>' ,
116+ scopes: [ ' <YOUR_SCOPES_ARRAY>' ] ,
117117};
118118
119119const result = await refresh (config, {
@@ -132,7 +132,7 @@ const config = {
132132 issuer: ' <YOUR_ISSUER_URL>' ,
133133 clientId: ' <YOUR_CLIENT_ID>' ,
134134 redirectUrl: ' <YOUR_REDIRECT_URL>' ,
135- scopes: ' <YOUR_SCOPES_ARRAY>' ,
135+ scopes: [ ' <YOUR_SCOPES_ARRAY>' ] ,
136136};
137137
138138const result = await revoke (config, {
@@ -348,7 +348,7 @@ const config = {
348348 issuer: ' <YOUR_ISSUER_URL>' ,
349349 clientId: ' <YOUR_CLIENT_ID>' ,
350350 redirectUrl: ' <YOUR_REDIRECT_URL>' ,
351- scopes: ' <YOUR_SCOPES_ARRAY>'
351+ scopes: [ ' <YOUR_SCOPES_ARRAY>' ],
352352};
353353
354354// use the client to make the auth request and receive the authState
0 commit comments