Skip to content

TAN-7576 - Azure AD SSO with no email#13697

Open
jamesspeake wants to merge 3 commits intomasterfrom
TAN-7576-azure-ad-no-email
Open

TAN-7576 - Azure AD SSO with no email#13697
jamesspeake wants to merge 3 commits intomasterfrom
TAN-7576-azure-ad-no-email

Conversation

@jamesspeake
Copy link
Copy Markdown
Contributor

Changelog

Changed

  • Allow Azure AD to be used where accounts do not have an email address

@notion-workspace
Copy link
Copy Markdown


def name_key
@user.email || @user.unique_code || @user.id
@user.email || @user.unique_code || @user.id || SecureRandom.hex(8)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed in SSO when no email OR name present - complete edge case but managed to trigger it whilst testing

@cl-dev-bot
Copy link
Copy Markdown
Collaborator

Messages
📖 Changelog provided 🎉
📖 Notion issue: TAN-7576
📖

Run the e2e tests

📖 Check translation progress

Generated by 🚫 dangerJS against e6ac34b

Comment on lines +41 to +43
def updateable_user_attrs
super + %i[remote_avatar_url]
end
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was in the wrong place in the file

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.

2 participants