The Nest ecosystem is a network of interconnected applications that work together to create a unified user experience.
Easly sign-in and tokenization, allowing users to access all sub-applications under this primary domain.
We already have a single sign-on method.
Create button with attribute nest to call the button, then the onclick doLogin() function have Run method.
For call user card create div with attribute nest-card, like this.
Copy paste this CDN javascript code, or you can host this on your own host
Setup synchronization method at first button loaded.
Fill your ID, and if you use redirect link insert your endpoint if that success
chaining this method with .then(data, callback) for success
.catch(error, callback) for clousup popup or failed