Is posible to use a separator char betwen password and otppin?

Hi

I are a newly user here, i have configured a 2factor sucesfully, but i must send ldap password+otppin all concatenated to validate.

i will that i must send password,otppin (with a , separator) is posible to modify this?

Can someoune explain how make this is this posible?

Thanks in advance!

Hello,

to my knowledge this is not directly possible.
Maybe there are some possibilities with event handlers.

But why do you want to do this?
Your users would have to remember the separator and enter it each time?
Looking forward to understand your scenario.

Hi, it is because we come from DUO 2nd factor auth, that use , as separator, so all our users are adapted to enter this separator.

So if it can be possible the migration will be more clean and faster

Thanks in advance.

Thank you for the information about DUO.

You should be able to extract the “,” via the Request Mangler

and some RegExp magic.

Match a string, that has variable length, then a “,” and then 6 digits.
Glue to the substring before the “,” and the 6 digits behind the “,”.

Thanks, i dont have used this module, but i will try to get it working.

On what file i have to code this?

Thanks in advance.

No file. It is an event handler definition in the web ui.

ok thanks i will try to got it, but i´m are a little bit lost, i dont know in what parameter commes the pwd+tokenpin and dont find any reference for that.

_I will keep informed, and if i get it, i will post it here so other people can use this if needed…

Thanks

Ah, ok.
You are pre-mangling the /validate/check request.
You can find the description here:

The parameter you are looking for is pass.