<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007HYPlSCAXOkta Classic EngineSingle Sign-OnAnswered2024-04-16T09:01:21.000Z2021-11-10T15:14:33.000Z2021-11-11T16:19:23.000Z

unydz (unydz) asked a question.

IDP match against can possibly match with multiple accounts

We have a use-case where we can have multiple accounts with the same email but different usernames.

We need to be able to match the email we get from IDP with okta emails, this could result into multiple matches, how does okta handle this? Is there a way we can decide on how this case should be handled ?


  • valentinn.74840 (Customer)

    For multiple matches against the same value Okta will fail the login, use another attribute has unique values

  • unydz (unydz)

    Well since we are not the ones setting those attributes directly on google and that is what we will be getting from the redirect call, is there a way to sort of have a custom match hook which okta can use ? or maybe it could call our system with the list of accounts to confirm which one it should process ?

  • valentinn.74840 (Customer)

    You can still choose what to check the google email against in Okta. I assume your Okta username is the same as email for most users and that some are using their emails for secondary Okta accounts. Since Okta username is unique it should not be a problem to validate the google email against.

    You can also build a new attribute, set the google email in it for the right users and validate against

    Expand Post
This question is closed.
Loading
IDP match against can possibly match with multiple accounts