

Use NTP to ensure that your server's time is correct.
Google duo for web install#
This option becomes available after you authenticate with your Web SDK v2-based application.ĭownload and install a supported client library ( Python, Ruby, Classic ASP, ASP.NET, Java, PHP, Node.js, ColdFusion, Perl). If you plan to permit use of WebAuthn authentication methods (security keys, U2F tokens, or Touch ID), Duo recommends configuring allowed hostnames for this application and any others that show the inline Duo Prompt before onboarding any end-users. These values can be used interchangably in your Web SDK v2 application. Previously, the Client ID was called the "Integration key" and the Client secret was called the "Secret key". See Protecting Applications for more information about protecting applications in Duo and additional application options.

You'll need this information to complete your setup. Click Protect to the far-right to configure the application and get your Client ID, Client secret, and API hostname. Log in to the Duo Admin Panel and navigate to Applications.Ĭlick Protect an Application and locate the 2FA-only entry for Web SDK in the applications list. There are three things you need to do to set this up: call sign_request(), add the JavaScript and IFRAME, and then call verify_response(). Client libraries are available for Python, Ruby, Classic ASP, ASP.NET, Java, PHP, Node.js, ColdFusion, and Perl.įor example, a typical single factor login process looks something like this:Īfter adding Duo authentication it will look more like this: You should be familiar with your web application's programming language and authentication process. Implementing Duo two-factor authentication into your site involves adding a second login page and splitting your login handler into two parts. Try the Duo Web SDK v4 featuring Duo Universal Prompt support today! Overview Learn more about how this will affect your existing applications.ĭuo's Universal Prompt offers greater integration flexibility and a refreshed login experience. The Duo Web SDK v2 repositories will be deprecated on July 18th, 2022.
