Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reef: mgr/dashboard: SSO error: AttributeError: 'str' object has no attribute 'decode' #51951

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

nizamial09
Copy link
Member

backport tracker: https://tracker.ceph.com/issues/61281


backport of #51406
parent tracker: https://tracker.ceph.com/issues/59689

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

…te 'decode'

The token is `str` in PyJWT >= 2 and Python3. Check `controllers/auth.py` where the same code is used.

Fixes: https://tracker.ceph.com/issues/59689
References: SUSE#506

Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 0fc6e76)
@nizamial09 nizamial09 requested a review from a team as a code owner June 7, 2023 06:43
@nizamial09 nizamial09 requested review from aaSharma14 and Pegonzal and removed request for a team June 7, 2023 06:43
@nizamial09 nizamial09 added this to the reef milestone Jun 7, 2023
@github-actions github-actions bot added the pybind label Jun 7, 2023
@ljflores
Copy link
Contributor

@yuriw yuriw merged commit 69d88dd into ceph:reef Jun 15, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants