-
-
Notifications
You must be signed in to change notification settings - Fork 15
The Plugin should display the challenge message #42
Comments
This should not be a big thing - give me the weekend for the first beta 😄 🚀 |
Please drop me a note, if you need any input! |
Update now available as 1.3.8.2 - now should be display the challenge message in the UI (tested with "Questioner Challenge Token") Please test with your token implementation. The message can be switched on and off with a config parameter:
|
The massage array will be displayed but maybe no correct formatted! |
All messages will be shown up in the UI if multiple tokens are deploy - check version 1.3.8.2. |
Cool, thx! |
Any updates? :) |
I am not able to look at it myself. But I got work from a user, that it works out as expected. Thanks a lot! :+1 |
When doing challenge-response with
triggerchallenge
the privacyIDEA returns amessage
in the JSON response. The contents of this is often useful, since it contains s.th. like "Please enter the OTP value from the Email".Especially for the indexedSecretToken it contains important information like "Please enter the position 2,3 and 7 of your secret".
Without this information, the user can not answer the challenge.
The message should be inserted about here:
privacyIDEA-ADFSProvider/privacyIDEAADFSProvider/Adapter.cs
Line 96 in 9c668f6
The call to
triggerChallenge
needs to return the message like here:privacyIDEA-ADFSProvider/privacyIDEAADFSProvider/OTPprovider.cs
Line 114 in 44907a0
Can the
triggerChallenge
method return a tuple of the transaction_id and the message?You can see the returned messages here:
https://privacyidea.readthedocs.io/en/latest/modules/api/validate.html#get--validate-triggerchallenge
So the code should probably be something like
or
getJsonNode(responseString, "message")
, since message contains the concatenation of all challenges.The text was updated successfully, but these errors were encountered: