I have a question about the privaceIDEA portal login for users (self
service portal).
It is possible to change the login_mode to privacyIDEA which forces the
user to use a Token to login instead of his userstore password.
What I would like to achieve is, that as long as the user has no Token
assigned, he is allowed to login with his userstore password. As soon as he
has a Token he needs the Token to login.
From a security point of view it makes no sense to let him login if he has
a token. Assuming that an attacker gets his credentials, he can just login
to the portal and enroll a token himself.
Thanks for the reply. The passthrough option really did the trick. But this
gives me another problem, now all users without a token can login.
What I really want is, that users without a token can only login to the web
ui to enroll a token. But they should not be able to login without a token
via SAML.
There’s also a “webui” policy, which has “login_mode” to handle logins
to the webui.
You could possibly add a special policy for your SAML server with the
"client" option in the policy. Would that work?
Thanks for the reply. The passthrough option really did the trick. But this
gives me another problem, now all users without a token can login.
What I really want is, that users without a token can only login to the web
ui to enroll a token. But they should not be able to login without a token
via SAML.
Regards
TobiasOn Saturday, March 4, 2017 at 3:54:40 PM UTC+1, Jochen Hein wrote:
Thanks for the reply. The passthrough option really did the trick. But
this
gives me another problem, now all users without a token can login.
What I really want is, that users without a token can only login to the
web
ui to enroll a token. But they should not be able to login without a
token
via SAML.
There’s also a “webui” policy, which has “login_mode” to handle logins
to the webui.
You could possibly add a special policy for your SAML server with the
"client" option in the policy. Would that work?