Projet

Général

Profil

« Précédent | Suivant » 

Révision cdd21e6f

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

sso and slo redirect url contain the name instead of id

Voir les différences:

ckanext/ozwillo_pyoidc/plugin.py
126 126
        org_url = toolkit.url_for(host=request.host,
127 127
                                  controller="organization",
128 128
                                  action='read',
129
                                  id=g.id,
129
                                  id=g.name,
130 130
                                  qualified=True)
131 131
        toolkit.redirect_to(org_url)
132 132

  
......
140 140
        org_url = toolkit.url_for(host=request.host,
141 141
                                  controller='organization',
142 142
                                  action='read',
143
                                  id=session['organization_id'],
143
                                  id=g.name,
144 144
                                  qualified=True)
145 145
        redirect_uri = org_url + '/logout'
146 146

  

Formats disponibles : Unified diff