Skip to content

GuestIssuer jwt_token.decode('utf-8') redundant? #162

@JardaMartan

Description

@JardaMartan

guest_issuer.create() fails with

site-packages/webexteamssdk/api/guest_issuer.py", line 124, in create
    "Authorization": "Bearer " + jwt_token.decode("utf-8")
AttributeError: 'str' object has no attribute 'decode'

I believe this happens because jwt.encode() returns plain ASCII string which doesn't provide decode() method. My environment is Python3.9. "Authorization": "Bearer " + jwt_token works fine.

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions