When signing in with a linked account, the user should be signed into their primary account, with the linked account included as one of their equivalent accounts in the principals list in the token. This is the correct procedure, and verified to work when signing in directly on auth.
However, Jon reported that when signing in to ezEML with a linked profile, the token that ezEML receives is for the linked profile, and does not include any equivalent accounts in the principals section. I can't see where this happens in the code since the procedure when signing in to auth is mostly the same as when signing in to ezEML. So will need to work with Colin to reproduce it.
When signing in with a linked account, the user should be signed into their primary account, with the linked account included as one of their equivalent accounts in the
principalslist in the token. This is the correct procedure, and verified to work when signing in directly on auth.However, Jon reported that when signing in to ezEML with a linked profile, the token that ezEML receives is for the linked profile, and does not include any equivalent accounts in the
principalssection. I can't see where this happens in the code since the procedure when signing in to auth is mostly the same as when signing in to ezEML. So will need to work with Colin to reproduce it.