diff --git a/src/flask_pyoidc/flask_pyoidc.py b/src/flask_pyoidc/flask_pyoidc.py index 42f6a1d..2e09765 100644 --- a/src/flask_pyoidc/flask_pyoidc.py +++ b/src/flask_pyoidc/flask_pyoidc.py @@ -114,7 +114,7 @@ def _authenticate(self, client, interactive=True): if not client.is_registered(): self._register_client(client) - flask.session['destination'] = flask.request.url + flask.session['destination'] = flask.request.full_path # Use silent authentication for session refresh # This will not show login prompt to the user