Z
ZITADEL
Z
ZITADEL
zitadel-go sdk checking if user need TOTP to login
Original message was deleted
ZITADEL
Join
ZITADEL - Identity infrastructure, simplified for you.
4,316
Members
View on Discord
F
fabienne
•
7/31/24, 6:08 AM
With the user service you have the possibility to request the authentication methods of a user
, this should list all methods the user has registered
:
https://zitadel.com/docs/apis/resources/user_service_v2/user-service-list-authentication-method-types
ZITADEL Docs
List all possible authentication methods of a user like password
, passwordless
,
(T
)OTP and more
.
.
F
fabienne
•
7/31/24, 6:43 AM
This looks good to me
. Just to clarify one thing
, the user does always have a password
?
F
fabienne
•
7/31/24, 6:44 AM
In our default ui
, we always ask for the username first
-
-
> creat session with username
, to then be able to decided if we need to show the password
, or if we might have to redirect them to an external idp provider
, or show passkey directly