providers/oauth2: dont lowercase URL for token requests (#3114)

this was a leftover from before the migration regex checking for redirect URIs

closes #3076 and #3083
This commit is contained in:
9p4 2022-06-18 16:38:15 +05:30 committed by Jens Langhammer
parent 91f91b08e5
commit f0c72e8536
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class TokenParams:
provider=provider,
client_id=client_id,
client_secret=client_secret,
redirect_uri=request.POST.get("redirect_uri", "").lower(),
redirect_uri=request.POST.get("redirect_uri", ""),
grant_type=request.POST.get("grant_type", ""),
state=request.POST.get("state", ""),
scope=request.POST.get("scope", "").split(),