Error when interaction aborted
Closed this issue · 3 comments
erbilsilik commented
Issue: When the user aborts the interaction it breaks the application and it's not possible to use it until cookies are cleared.
{"error":"access_denied","error_description":"End-user aborted interaction"}
Error:
TypeError: Cannot read properties of undefined (reading 'getOIDCScopeEncountered')
adrianbrs commented
Hi @erbilsilik, can you provide the steps you did to reproduce this issue?
Thanks!
erbilsilik commented
Hi @adrianbrs,
You can use your example application to reproduce.
- Start the application and go to the homepage
- Press Click here to authenticate
- Enter user and password information and press Sign in
- Try to go back or press Cancel in the next screen
Thanks!
adrianbrs commented
Oh, it's just a miskate in the example project, because the interaction is aborted the grant entity cannot be found.
Also, I will improve the example project to show these type of errors on homepage, instead of returning a JSON response.
Thanks for reporting this!