Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are 3 entry points that touches the SSO with MyAccount:

  • Login (Login page)

  • Link (My Profile page)

  • Invite (Participant page)

Login

When a user tries to log in through Play, there is a lookup that is being done to know if the email address is linked to a MyAccount. On next, we need to do a look up to check if the associated Play account has an externalId.

...

This will ensure the user logs in to MyAccount to the correct account and provide the right access token back to Play.

Link + Invite

Both linking entry point will have the same approach. We will send over the following when doing the MyAccount redirect. For inviting a participant, we will simply send an email with a link with the redirect URL pre built.

URL params to send over when getting redirect URL

Code Block
r={referer} ex. "/profile"
c={client code}
link=1
email={Play account username}

This will force the user getting redirected to sign in or sign up using the email address of the account. Once the user is redirected back to play. We will update the identity id (externalId) only when we receive the call back with the token.