Skip to content

Commit 056b7ef

Browse files
committed
README: fix verifier initialization example
1 parent be73733 commit 056b7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func handleRedirect(w http.ResponseWriter, r *http.Request) {
3838
The on responses, the provider can be used to verify ID Tokens.
3939

4040
```go
41-
var verifier = provider.Verifier()
41+
var verifier = provider.Verifier(&oidc.Config{ClientID: clientID})
4242

4343
func handleOAuth2Callback(w http.ResponseWriter, r *http.Request) {
4444
// Verify state and errors.

0 commit comments

Comments
 (0)