feat(crypto): hash algorithm for EdDSA (#638)
* feat(crypto): hash algorithm for EdDSA * update code comment * rp: modify keytype check to support EdDSA * example: signing algs from discovery --------- Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
parent
0aa61b0b98
commit
99301930ed
3 changed files with 18 additions and 8 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