Continue active device flow after merging accounts

Hello,
I’m using the device flow of auth0
In my case, I started with /active device on a dashboard that was not logged in.
After entering the code, I logged in with my email account + password (I already have a Google account with the same email address)

I merged the account on auth0 like this doc in onPostLogin actions
How do I continue with the previous active device code without logging in?
I tried setPrimaryUser but it only seems to work with my Dashboard and the flow active device is still receiving the old account (deleted after the merge).

Hello @kinhhivello,

Welcome to the Auth0 community!

The problem might be related to the way in which the linking is done. Check the following Knowledge Solution as it should help in solving your problem: Account Linking in Actions - How to Keep the User Logged In Loading

If not, check out this solution related to Account Linking and the setPrimaryUser attribute: Account Linking with Actions: setPrimaryUser Update Lost Between Redirects

I hope this was helpful.

Thanks,
Tudor

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.