s/RSA256/RS256
This commit is contained in:
parent
c7d281d097
commit
de750defdb
1 changed files with 1 additions and 1 deletions
|
@ -699,7 +699,7 @@ def jwk_set_uri():
|
||||||
return jsonify({
|
return jsonify({
|
||||||
'keys': [{
|
'keys': [{
|
||||||
'kty': 'RSA',
|
'kty': 'RSA',
|
||||||
'alg': 'RSA256',
|
'alg': 'RS256',
|
||||||
'use': 'sig',
|
'use': 'sig',
|
||||||
'n': urlsafe_b64encode(str(certificate.public_numbers().n)),
|
'n': urlsafe_b64encode(str(certificate.public_numbers().n)),
|
||||||
'e': urlsafe_b64encode(str(certificate.public_numbers().e)),
|
'e': urlsafe_b64encode(str(certificate.public_numbers().e)),
|
||||||
|
|
Reference in a new issue