By: Master Kumar user 02 Oct 2018 at 12:45 p.m. CDT

3 Responses
Master Kumar gravatar
I am writting a client application and wanted to implement login functionality using two factor authentication (with SMS/Email). So can you please let me know which API's i can use and sample request for them.

By William Lowe user 02 Oct 2018 at 12:49 p.m. CDT

William Lowe gravatar
Hi there, we don't offer community support for writing custom clients. You should use one of the pre-approved clients listed on [our integration guide](https://gluu.org/docs/ce/integration/). In general, your app can either request a specific form of authentication, or can accept the default. So you can make default authentication 2FA, or the client can request a specific form using the `acr_value`. More info in our [authentication guide](https://gluu.org/docs/ce/authn-guide/intro/).

By Master Kumar user 03 Oct 2018 at 12:09 p.m. CDT

Master Kumar gravatar
Hi William, thank for the info. I wanted to consume the APIs, so would like to know details around it. As you said where do i make the default authentication as 2FA so that it can be used by the consuming appilication and then consume it from my application.

By William Lowe user 03 Oct 2018 at 12:16 p.m. CDT

William Lowe gravatar
Best to read the docs listed above. Your client calls Gluu OpenID Connect APIs to route the user for authentication. It's all covered in the authentication guide linked above.