Auth0 Home Blog Docs

Angular5/NodeJS

angular4
auth0
lock

#1

I am trying to enable account linking for my users based on the example https://github.com/auth0-samples/auth0-link-accounts-sample/tree/master/SPA and an older example I found on the web https://alligator.io/angular/authentication-auth0/

I can create the relevant entries in the auth.service.ts file and I can set the localstorage item to linking. however the service does not seem to capture the lock.on (authenticated) status and it now seems to log me in as the secondary user causing all sorts of errors.

hs anyone sucesfully implemented account linking in Angular/NodeJS using lock? my current working code (without linking) can be found here https://github.com/dhirmadi/katyev01