example: signing algs from discovery

This commit is contained in:
Tim Möhlmann 2024-08-20 16:07:20 +03:00
parent 248df8c1f1
commit 07d4268b89

View file

@ -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))