0
shobhit created
- 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?
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
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
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)