move jwk set URI to /keys
This commit is contained in:
parent
559a55b1de
commit
8a924aae4a
1 changed files with 1 additions and 1 deletions
|
@ -698,8 +698,8 @@ def _load_certificate_bytes(certificate_file_path):
|
|||
with open(certificate_file_path) as cert_file:
|
||||
return load_pem_x509_certificate(cert_file.read(), default_backend()).public_key()
|
||||
|
||||
@web.route('/jwk_set', methods=['GET'])
|
||||
@route_show_if(features.BITTORRENT)
|
||||
@web.route('/keys', methods=['GET'])
|
||||
def jwk_set_uri():
|
||||
certificate = _load_certificate_bytes(app.config['JWT_AUTH_CERTIFICATE_PATH'])
|
||||
return jsonify({
|
||||
|
|
Reference in a new issue