-
-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathpublic.diff
More file actions
21 lines (19 loc) · 729 Bytes
/
public.diff
File metadata and controls
21 lines (19 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/examples/oauth.ts b/examples/public.ts
index d55e62d..437cd06 100644
--- a/examples/oauth.ts
+++ b/examples/public.ts
@@ -9,7 +9,6 @@ let algorithm!:
| 'oidc' /* For .well-known/openid-configuration discovery */
| undefined /* Defaults to 'oidc' */
let client_id!: string
-let client_secret!: string
/**
* Value used in the authorization request as redirect_uri pre-registered at the Authorization
* Server.
@@ -23,7 +22,7 @@ const as = await oauth
.then((response) => oauth.processDiscoveryResponse(issuer, response))
const client: oauth.Client = { client_id }
-const clientAuth = oauth.ClientSecretPost(client_secret)
+const clientAuth = oauth.None()
const code_challenge_method = 'S256'
/**