Project

General

Profile

« Previous | Next » 

Revision 6388360c

Added by Serghei Mihai almost 11 years ago

checking the 'state' parameter issued by idp

View differences:

ckanext/ozwillo_pyoidc/plugin.py
if 'organization_id' in session:
g = model.Group.get(session['organization_id'])
client = Clients.get(g)
url, ht_args = client.create_authn_request(session, conf.ACR_VALUES)
url, ht_args = client.create_authn_request(conf.ACR_VALUES)
if ht_args:
toolkit.request.headers.update(ht_args)
redirect_to(url)

Also available in: Unified diff