Skip to content

2.0.2

Latest
Compare
Choose a tag to compare
@EreminAnton EreminAnton released this 04 Oct 13:33

Problem

This release addresses an issue in the Lambda function where the case-sensitive comparison of email addresses from Slack and AWS SSO caused a failure in user lookups. We’ve modified the email comparison to be case-insensitive to better align with AWS SSO behavior, which is not case-sensitive for email addresses.

Changes:

Updated the get_user_principal_id_by_email function to perform case-insensitive email comparison using the lower() function.
Previous implementation compared the email directly using ==, which failed when there were differences in case between Slack emails and AWS SSO emails.
Now, both the Slack-provided email and the AWS SSO email are normalized to lowercase before comparison, ensuring consistent results regardless of case differences.
Full Changelog: 2.0.1...2.0.2