I am using SDK ( I believe it is the latest)
import { AuthService } from '@auth0/auth0-angular';
import { AuthGuard } from '@auth0/auth0-angular';
routing uses
{ path: 'test/:id', // child route path component: MainContentComponent, // child route component that the router renders canActivate: [AuthGuard] },
My login is below, on click of button
loginWithRedirect() {
this.auth.loginWithRedirect({
redirect_uri: ‘http://localhost:4200’
});
}
How can I know , whether I am passing token or id token? How to log.
Note: My backend is Spring , and I want email address to identify user.