Skip to content

Handle auth token without embedded userid #746

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

Merged
merged 4 commits into from
Nov 17, 2024

Conversation

AdrianGarside
Copy link
Collaborator

@AdrianGarside AdrianGarside commented Nov 17, 2024

China is no longer returning a JWT auth token with embedded user id (of from 'u_digits'). For cloud mqtt connection we need that user id. So added a fallback to retrieve it from an existing API that includes it so that hopefully login will work again in China and if/when this change rolls out everywhere the integration just keeps working.

Fixed some typos in UI strings.

@AdrianGarside AdrianGarside merged commit b0c9ac3 into main Nov 17, 2024
4 checks passed
@AdrianGarside AdrianGarside deleted the handle_authToken_without_embedded_userid branch November 17, 2024 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant