mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 17:35:27 +08:00
support GET in /oauth/token
This commit is contained in:
parent
6d1d9b062d
commit
5854ab8e10
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue