Skip to content

Commit

Permalink
Added platform as a valid redirect scheme (#183)
Browse files Browse the repository at this point in the history
* added platform as a valid redirect scheme

* revert pipfile
  • Loading branch information
sritanmotati authored Feb 5, 2025
1 parent b2a8664 commit 42c56ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion backend/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ djangorestframework-api-key = "*"
psycopg2 = "*"
sentry-sdk = "*"
django-oauth-toolkit = "*"
oauthlib = {git = "https://github.com/oauthlib/oauthlib.git@f9a07c6"}
django-cors-headers = "*"
django = "*"
pyyaml = "*"
Expand Down
2 changes: 1 addition & 1 deletion backend/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend/Platform/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
"write": "Write scope",
"introspection": "Introspect token scope",
},
"ALLOWED_REDIRECT_URI_SCHEMES": ["http", "https"],
"ALLOWED_REDIRECT_URI_SCHEMES": ["http", "https", "platform"],
"PKCE_REQUIRED": False,
"OIDC_ENABLED": True,
"OIDC_RSA_PRIVATE_KEY": OIDC_RSA_PRIVATE_KEY,
Expand Down

0 comments on commit 42c56ff

Please sign in to comment.