- ABP Framework version: v5.1.4
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:"!
- LoginRedirects.PNG
This config works for Authorization Code Flow const oAuthConfig = { issuer: 'https://localhost:44329', redirectUri: baseUrl, clientId: 'TealTech_App', responseType: 'code', scope: 'offline_access TealTech', requireHttps: true, };
This config brings me to the login loop for Resource Owner Password Flow const oAuthConfig = { issuer: 'https://localhost:44329', // IdentityServer url clientId: 'TealTech_App', dummyClientSecret: 'secret pulled from [IdentityServerClientSecrets] table', scope: 'offline_access TealTech', }; **Is dummyClientSecret the proper key? I've also tried clientSecret but same behavior.
2 Answer(s)
-
0
Please share the IdentityServer logs. It should be under Logs folder with the name
logs.txt
. -
0
I found the issue.
For some reason I had added canActivate: [AuthGuard, PermissionGuard], on all the routes in app-routing.module.ts
Looks like the login page is now working within Angular.
**Can you help with one small related question. ** If I need to run some code when a user successfully logs in where does that belong?