Skip to content

Conversation

@mo-radwan1
Copy link
Collaborator

Summary

Changes

  • Lowercase email when fetched fresh from Slack API (extract_auth_claims)
  • Lowercase cached email when returned from cache

Related

Test plan

  • Verify user identity is consistently lowercase regardless of Slack profile email casing
  • Verify cache reads return lowercased email

🤖 Generated with Claude Code

…tent user identification

Same fix as PR #86 for sam-slack, applied to sam-slack-gateway-adapter.

Ensures email addresses from the Slack API are normalized to lowercase
to prevent duplicate user sessions caused by OAuth providers returning
emails with inconsistent casing.

Changes:
- Lowercase email when fetched fresh from Slack API
- Lowercase cached email when returned from cache
@mo-radwan1 mo-radwan1 changed the title fix: Normalize email to lowercase in Slack Gateway Adapter fix(DATAGO-121972): Normalize email to lowercase in Slack Gateway Adapter Jan 16, 2026
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