Projet

Général

Profil

« Précédent | Suivant » 

Révision 880b5def

Ajouté par Serghei Mihai (congés, retour 15/05) il y a environ 9 ans

logout_url casted to string

Voir les différences:

ckanext/ozwillo_pyoidc/plugin.py
119 119
        Revokes the delivered access token. Logs out the user
120 120
        """
121 121
        global CLIENT
122
        logout_url = str(CLIENT.end_session_endpoint)
122
        logout_url = CLIENT.end_session_endpoint
123 123
        org_url = toolkit.url_for(host=request.host,
124 124
                                  controller='organization',
125 125
                                  action='read',
......
136 136
        # redirect to IDP logout
137 137
        logout_url += '?id_token_hint=%s&' % CLIENT.id_token
138 138
        logout_url += 'post_logout_redirect_uri=%s' % redirect_uri
139
        toolkit.redirect_to(logout_url)
139
        toolkit.redirect_to(str(logout_url))

Formats disponibles : Unified diff