auth0-extensions / auth0-account-link-extension

An extension aimed to help link accounts easily
MIT License
28 stars 76 forks source link

Enable account linking at login #159

Open varun-corr opened 1 year ago

varun-corr commented 1 year ago

Currently, the extension only works at sign up. Are there any plans of enabling this at login too? This would be helpful when you already have users with multiple identities, and you want the user to do the account linking at login. Looks like the rule specifically checks if this is the first login, we could just remove that check to enable this.

knash94 commented 1 year ago

@varun-corr you should be able to tailor the rule to your needs quite easily. We were able to change the rule to ensure the user cannot bypass the account linking stage for new accounts until they have linked the accounts together.

The last comment on this post was my reply, I think this may be useful for you to achieve your goals. https://community.auth0.com/t/account-linking-skip-option/63675/11

Just so you're aware, Auth0 is now deprecating the rules. Hopefully, they will have an update for this extension soon and will be an easy transition to actions