Subject from payload does not match subject from previous authentication

#1

Hi, I have created a client and when I go through the process of connecting a new account through the client I go through login and consent everything works great! When I use the client to connect another account I get the following error in HYdra: Subject from payload does not match subject from previous authentication!.

this is how my client is setup:
{
“clientId”: “XXXXX-id”,
“clientName”: “Client Test”,
“clientSecret”: null,
“redirectUris”: [
https://XXXX.com/dashboard/auth/oauth/return/XXXXI/
],
“grantTypes”: [
“authorization_code”,
“refresh_token”
],
“responseTypes”: [
“code”,
“id_token”
],
“scope”: null,
“audience”: [],
“owner”: “”,
“policyUri”: “”,
“clientUri”: “https://XXXX.com”,
“logoUri”: “”,
“contacts”: [],
“subjectType”: null,
“createdAt”: “2019-06-13T22:15:05Z”,
“updatedAt”: “2019-06-13T22:15:05Z”
}

#2

This issue was a 100% my fault! My System Auth uses magic link so the API handles the login and consent. I realized that I was defaulting remember to true in the Login Request object. I removed that and everything is working great. I am happy that I have this working with a passwordless system!

#3

Awesome to hear that you got it working? Would you like to contribute the flow to the docs? Maybe even with a flow chart diagram using mermaid.js? I think that could be tremendously useful for many developers!