Hi,
-
I created a new Auth0 Account
-
I configured my Auth0 Client
-
I created a new Asp.Net Core app with Angular 2.0
-
I configured my auth0 service on the server
-
I install npm auth0-js package + angular2-jwt
In my Angular 2 page test.ts i have:
auth0 = new WebAuth({
domain: ‘xxx’,
clientID: ‘xxx’,// specify your desired callback URL callbackURL: 'http://localhost:3521', responseType: 'token id_token'
});
So when I click on login function:
this.auth0.authorize({
connection: ‘google-oauth2’,
});
The webpage is correctly redirect to google, then I login in, work fine, but the redirect doesnt work.
I m note sure about what I need to after that.
Do I need to redirect to a controller in my WebApi?How can i do that?
Do I need to redirect to a Angular Page which will decrypt google data and send it to the Server?
Do you have page/documentation/git/code to refer?
Thank you for your help.