Révision 838dc9f3
Ajouté par Serghei Mihai il y a environ 9 ans
ckanext/ozwillo_pyoidc/plugin.py | ||
---|---|---|
173 | 173 |
|
174 | 174 |
redirect_uri = org_url + '/logout' |
175 | 175 |
|
176 |
if not hasattr(client, 'access_token'): |
|
177 |
self.sso(g.name) |
|
178 |
|
|
176 | 179 |
# revoke the access token |
177 | 180 |
headers = {'Content-Type': 'application/x-www-form-urlencoded'} |
178 | 181 |
data = 'token=' + client.access_token |
Formats disponibles : Unified diff
if no access_token for current client, redo sso