Revision 6388360c
Added by Serghei Mihai almost 11 years ago
| 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
checking the 'state' parameter issued by idp