Skip to content

Commit

Permalink
Merge pull request #276 from italia/dev
Browse files Browse the repository at this point in the history
fix: corrected redirect_uri on deny consent
  • Loading branch information
Giuseppe De Marco authored Sep 29, 2023
2 parents 93d66e3 + da8b1b3 commit 5450ee4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
./manage.py migrate
./manage.py loaddata dumps/example.json
- uses: paambaati/codeclimate-action@v2.5.3
- uses: paambaati/codeclimate-action@v5.0.0
if: always()
env:
CC_TEST_REPORTER_ID: ${{ secrets.CodeClimate }}
Expand Down
2 changes: 1 addition & 1 deletion spid_cie_oidc/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.1"
__version__ = "1.1.2"
2 changes: 1 addition & 1 deletion spid_cie_oidc/provider/views/consent_page_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def oidc_provider_not_consent(request):
),
state = state
)
url = f'{redirect_uri.path if redirect_uri.path else "/"}?{urllib.parse.urlencode(kwargs)}'
url = f'{redirect_uri.scheme}://{redirect_uri.netloc}{redirect_uri.path if redirect_uri.path else "/"}?{urllib.parse.urlencode(kwargs)}'
return HttpResponseRedirect(url)


Expand Down

0 comments on commit 5450ee4

Please sign in to comment.