We developed this script so you can maintain a consistent look for Typeform login buttons within your applications.
Here is what the button will look like:
Add the button code to your application and configure it to work with the link that redirects users to the Typeform login screen (
https://api.typeform.com/oauth/authorize) so they can log in to their Typeform accounts and grant access to your app.
Here are the step-by-step instructions:
divwith a class of
data-attributes on the script tag with your application's data (including clientID, redirectURI, scopes, and so on).
The script will use the data you enter to set up a link in your
tf-login-button tag that points to the
/oauth/authorize endpoint for your app.