Using node-grant FeathersJS to logout

after MUCH struggle, and a paid consulting session, this appears to log us out properly:

(async () => { try { await feathersApp.logout(); window.location='https://dev-2XX8.auth0.com/v2/logout?returnTo=https://mydomain.com/proxyPort20004/' } catch (e) { console.log(e); } } ) () ;

who knew?? :grin::grin::grin: (answer was partially here https://auth0.com/docs/logout/redirect-users-after-logout)

if there is any sort of “cookbook” started, this might help out somebody else.

2 Likes

Thanks for sharing that with the rest of community!

This topic was automatically closed after 3 days. New replies are no longer allowed.