#335 providers/openidp: Ensure returned client display name is a string
Merged a year ago by ngompa. Opened a year ago by ngompa.
ngompa/ipsilon openidp-bytes-str-py3  into  master

file modified
+1 -1
@@ -139,7 +139,7 @@ 

      def get_client_display_name(self, clientid):

          # We store this base64-encoded to get around limitations in the url

          # routing of cherrypy

-         return b64decode(clientid)

+         return b64decode(clientid).decode('utf-8')

  

      def consent_to_display(self, consentdata):

          return consentdata['attributes']

We generally expect the client display name to be a string rather
than a byte array.

Signed-off-by: Neal Gompa ngompa13@gmail.com

Metadata