Which SDK this is regarding: e.g. auth0-angular
SDK Version: latest version of the sdk
Login is done using loginWithRedirect in the angular sdk like so
login(){
this.auth.loginWithRedirect();
}
After a succeful login i try to get the user details as documented in the quick guide and im getting null, when i checked the isauthenticated i found it false. any ideas
You are following this quickstart in your implementation right?
Can you show your code where you create the Auth0 object?
John
exactly im following the quickstart guide
do you mean how did i import the auth0 object
this.auth.isAuthenticated$.subscribe(
data=>{
console.log("data: ",data);
}
)
No, it wil be something like:
auth0 = await createAuth0Client({
domain: config.domain,
client_id: config.clientId
});