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 GitHub
parent 2298eb124f
commit 45364d6553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,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(),