example: signing algs from discovery
This commit is contained in:
parent
248df8c1f1
commit
07d4268b89
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ func main() {
|
|||
rp.WithVerifierOpts(rp.WithIssuedAtOffset(5 * time.Second)),
|
||||
rp.WithHTTPClient(client),
|
||||
rp.WithLogger(logger),
|
||||
rp.WithSigningAlgsFromDiscovery(),
|
||||
}
|
||||
if clientSecret == "" {
|
||||
options = append(options, rp.WithPKCE(cookieHandler))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue