In Angular4 app, I’m trying to invoke the social provider login by the follwing way
let url = 'https:///authorize?response_type=token&client_id=' + Config.auth0ClientID + '&redirect_uri=' + document.location + '&connection=' + providerType + '&state=rmo-social-auth-csrf-token'; window.location.href = url;
when the login is succesful, I get back access_token in the hash fragment. I need to update the user_metadata for this user later. When I call the auth0 API, it expects Bearer token which is
id_token . I have tried
response_type=token%20id_token , but auth0 error page was thrown it did not take me to the social provider login page. I need the
id_token for the logged in user.
Appreciate your help.