Skip to content

Extract & log authentication challenge message#1324

Open
rmilecki wants to merge 1 commit into
adrienverge:masterfrom
rmilecki:auth-read-challenge
Open

Extract & log authentication challenge message#1324
rmilecki wants to merge 1 commit into
adrienverge:masterfrom
rmilecki:auth-read-challenge

Conversation

@rmilecki
Copy link
Copy Markdown

When gateway replies with a challenge it (usually?) provides a relevant
message.

Example:
ret=6,actionurl=/remote/logincheck,magic=1-12345678,reqid=0,grpid=1,pid=249,is_chal_rsp=1,pass_renew=1,allow_cancel=1,chal_msg=Your password will expire in 3 days. Would you like to change it?

Extract such messages and log them so user can understand what went
wrong.

@DimitriPapadopoulos
Copy link
Copy Markdown
Collaborator

@rmilecki This looks like a duplicate of #1322 we can close, can't we?

@rmilecki rmilecki force-pushed the auth-read-challenge branch from 3fc7d6f to 4585cf7 Compare February 23, 2026 21:59
@rmilecki
Copy link
Copy Markdown
Author

@DimitriPapadopoulos: I updated & rebased my branch (and so this pull request). Can you have another look at it, please?

When gateway replies with a challenge it (usually?) provides a relevant
message.

Example:
ret=6,actionurl=/remote/logincheck,magic=1-12345678,reqid=0,grpid=1,pid=249,is_chal_rsp=1,pass_renew=1,allow_cancel=1,chal_msg=Your password will expire in 3 days. Would you like to change it?

Extract such messages and log them so user can understand what went
wrong.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
@rmilecki rmilecki force-pushed the auth-read-challenge branch from 4585cf7 to 1027e4c Compare February 23, 2026 22:05
@rmilecki
Copy link
Copy Markdown
Author

rmilecki commented Mar 9, 2026

Is it good to be merged?

@rmilecki
Copy link
Copy Markdown
Author

This was approved 2 months ago and no one raised any issues regarding those changes.

@DimitriPapadopoulos: can you merge this now, please?

@rmilecki
Copy link
Copy Markdown
Author

Ping @DimitriPapadopoulos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants