Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(jans-auth): Error Handling for Person Authentication scripts #5801

Open
maduvena opened this issue Aug 7, 2023 · 0 comments
Open

docs(jans-auth): Error Handling for Person Authentication scripts #5801

maduvena opened this issue Aug 7, 2023 · 0 comments
Assignees
Labels
area-documentation Documentation needs to change as part of issue or PR
Milestone

Comments

@maduvena
Copy link
Contributor

maduvena commented Aug 7, 2023

In documentation of Person authentication script, a seperate section on "Error Handling" should be included for the following notes:

Notes:
During authorization request AS records redirect_uri into rp_origin_id cookie.
AS has configuration property errorHandlingMethod. When error occurs during authentication and AS found rp_origin_id it can:

errorHandlingMethod=remote - send error back to RP which gives RP chance to handle error
errorHandlingMethod=internal - show error page (no chance for RP to handle it).
That's why in PR default value is changed to errorHandlingMethod=remote. In addition if during permission check unexpected exception occur we log it and deny request. Also all results from external authn custom script during authentication are logged (independently whether script has print statement or not). This should help understand reason in case of fail requests.

Reference : #4449

@mo-auto mo-auto added the area-documentation Documentation needs to change as part of issue or PR label Aug 7, 2023
@nynymike nynymike assigned maduvena and unassigned moabu Aug 11, 2023
@moabu moabu added this to the 1.0.20 milestone Oct 25, 2023
@moabu moabu modified the milestones: 1.0.20, 1.0.21 Nov 22, 2023
@moabu moabu modified the milestones: 1.0.21, 1.0.22 Dec 14, 2023
@moabu moabu modified the milestones: 1.0.22, 1.0.23 Feb 1, 2024
@moabu moabu modified the milestones: 1.1.0, 1.1.1 Mar 14, 2024
@moabu moabu modified the milestones: 1.1.1, 1.1.2 May 1, 2024
@moabu moabu modified the milestones: 1.1.2, 1.1.3 May 29, 2024
@moabu moabu modified the milestones: 1.1.3, 1.1.4 Jul 8, 2024
@moabu moabu modified the milestones: 1.1.4, 1.1.5 Sep 3, 2024
@moabu moabu modified the milestones: 1.1.5, 1.1.6 Sep 16, 2024
@moabu moabu modified the milestones: 1.1.6, next-release Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-documentation Documentation needs to change as part of issue or PR
Projects
None yet
Development

No branches or pull requests

3 participants