Login
The ConsCent SSO service allows users to authenticate themselves on the ConsCent platform. This service supports both login and logout functionalities, which can be hosted by either ConsCent or client
CONSCENT LOGIN:
User Login
const csc = window._csc as any;
csc('login-with-redirect',{useSocialLogin:boolean});const csc = window._csc;
_csc('add-auth-state-listener', (userId) => {
if (userId) {
console.log('User is logged in');
} else {
console.log('User is not logged in');
}
});
Fetch User Details
CLIENT LOGIN:
Authorization Code (JWT)
Login and Logout Endpoint
Last updated