- ABP Framework version: v4.2.2
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:NA
- Steps to reproduce the issue:"NA
- Run anuglar app
- Click "login" button
- Identity page displayed
- click "Cancel" button
- page redirected to "http://localhost:4200/?error=access_denied" while it should redirect to "http://localhost:4200" only
- how to fix this issue?
5 Answer(s)
-
0
It is a default behaviour to inform the user about the process has been stopped and access to the resource has been denied. It is also same behaviour with all main idp as well.
I don't think it is an issue to fix but you can change the url by updating cookie handler like:
.AddCookie("Cookies", options => { options.AccessDeniedPath = "/"; })
If it doesn't work for you, you can check with identityserver github issues or stackoverflow to get faster response since this is not related with ABP.
-
0
Hello gterdem, Thanks but not sure where to find this. currently:
- On Login page
- Give user name and password
- Click on Cancel button
Actual Result: Page is becoming blank and loading for long time Expected Result: It should erase the given user credentials or should redirect to angular landing page
-
0
Tiered (MVC) or Identity Server Separated (Angular): yes
Do you used separated identityserver project? Do you use Resource Owner Flow?
-
0
Do you used separated identityserver project? Yes Do you use Resource Owner Flow? Not sure about his and never used it
-
0
Hello,
This was fixed in v4.3. Could you upgrade and try again?