support GET in /oauth/token

This commit is contained in:
Son NK 2019-12-07 23:41:59 +01:00
parent 6d1d9b062d
commit 5854ab8e10

View file

@ -10,7 +10,7 @@ from app.oauth.views.authorize import generate_access_token
from app.oauth_models import Scope, get_response_types_from_str, ResponseType
@oauth_bp.route("/token", methods=["POST"])
@oauth_bp.route("/token", methods=["POST", "GET"])
@cross_origin()
def token():
"""