Skip to content

fix: handle is_active field as both string and boolean in JWT tokens#43

Merged
hpsing merged 1 commit intomainfrom
fix/jwt-is-active-string-handling
Sep 3, 2025
Merged

fix: handle is_active field as both string and boolean in JWT tokens#43
hpsing merged 1 commit intomainfrom
fix/jwt-is-active-string-handling

Conversation

@swarna1101
Copy link
Collaborator

Problem

  • Users getting "your account is inactive" error despite being activated in Auth0
  • Issue started last week with existing RC4 binaries that were previously working
  • Auth0 recently changed JWT token format: is_active now comes as string "true" instead of boolean true

Cause

In the existing code:

IsActive: claims["is_active"] == true,

@swarna1101 swarna1101 requested a review from hpsing September 3, 2025 08:06
@hpsing hpsing merged commit bda4621 into main Sep 3, 2025
2 checks passed
@hpsing hpsing deleted the fix/jwt-is-active-string-handling branch September 3, 2025 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants