Project

General

Profile

« Previous | Next » 

Revision 6388360c

Added by Serghei Mihai almost 9 years ago

checking the 'state' parameter issued by idp

View differences:

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

Also available in: Unified diff