enonic / app-simple-idprovider

Apache License 2.0
0 stars 2 forks source link

Email 2step #33

Closed poi33 closed 3 years ago

poi33 commented 3 years ago

Added a 2 step authentication. Its possible to turn this off in the userstore settings. by default this is turned on.

It will send a login code the email of the users that is being used to login.

sigdestad commented 3 years ago

A solution might be to implement the authentication directly in the IDprovider (replicate the code currently stored in xp login method). Other, and perhaps better alternative is to expose an "authenticate" method in the xp API in addition to login?