ASP.NET CORE and Angular
Could you please the share the link to follow? I have tried to pass the encrypted value in url but it is redirect to login page. Is it possible to process the url we call, without redirect to login?
Is it possible to create a token from another application and login into the application with that token ? If possible, how can i create a token.
What is the default authorization used in ASP.NET Core and Angular? We are using default authentication.
Jwt
Hi @ismcagdas,
We have the CPQ application and ASP.NET Zero application. We have to login from CPQ to ASP.NET zero application without password authentication.
Notes: In our CPQ application we have the option to login into CPQ with password authentication. They are maintaining some keys in their portal, we can use that to encrypt the username from our application. After we encrpt we could pass the username, domain and encrypted value in url. It will not ask any authentication to login. It will login into CPQ application without password authentication.
Same way it could possible to login into ASP.NET zero application without password authentication.
Hi @ismcagdas Thanks for your response.
My both applications are not in ASPNET ZERO apps. my another one is a CPQ application. I require to login and view my ASPNET ZERO app automatically.
By default configuration is available in appSettings.json.
"IdentityServer": { "IsEnabled": "false", "Authority": "http://localhost:22742/", "ApiName": "default-api", "ApiSecret": "secret", "Clients": [ { "ClientId": "client", "AllowedGrantTypes": [ "password" ], "ClientSecrets": [ { "Value": "def2edf7-5d42-4edc-a84a-30136c340e13" } ], "AllowedScopes": [ "default-api" ] }, { "ClientId": "demo", "ClientName": "MVC Client Demo", "AllowedGrantTypes": [ "hybrid", "client_credentials" ], "RequireConsent": "true", "ClientSecrets": [ { "Value": "def2edf7-5d42-4edc-a84a-30136c340e13" } ], "RedirectUris": [ "http://openidclientdemo.com:8001/signin-oidc" ], "PostLogoutRedirectUris": [ "http://openidclientdemo.com:8001/signout-callback-oidc" ], "AllowedScopes": [ "openid", "profile", "default-api" ], "AllowOfflineAccess": "true" } ] },
could you share the working sample
would you send me format