marcospereirampj / python-keycloak

MIT License
731 stars 305 forks source link

get access token for a user with username and otp #253

Open althaf004 opened 2 years ago

althaf004 commented 2 years ago

i am trying to implement password less authentication. i have a user registered with keycloak and has enabled Google authenticator.

Is there a way to access the token with just these 2 parameters (username & totp).

Thanks

ryshoooo commented 2 years ago

It should be, you just need to configure a passwordless authentication flow, see https://medium.com/profusion-engineering/keycloak-passwordless-authentication-550ca095c0bf