Skip to content
Snippets Groups Projects
Commit 35b1d656 authored by Martin Mareš's avatar Martin Mareš
Browse files

CAS: Preserve service entry point URL when checking tickets

parent bdcd2f08
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,7 @@ def cas_login():
# There is a ticket, the request come from CAS as callback.
# need call `verify_ticket()` to validate ticket and get user profile.
app.logger.debug('CAS ticket: %s', ticket)
cas_client.service_url = url_for('cas_login', next=next, _external=True)
user, attributes, pgtiou = cas_client.verify_ticket(ticket)
app.logger.debug(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment