Button generator

The interactive button generator below lets you customize the login button to match your website's design. Select parameter values that suit your needs. The generator will render the button and produce the code with these parameters.

Copy the generated code and paste it into the authorization page. In the code, substitute:

  • oauthQueryParams with the strings below.

    {
       client_id: 'c46f0c53093440c39f12eff95a9f2f93',
       response_type: 'token',
       redirect_uri: 'https://examplesite.com/suggest/token'
    }
    

    Use the following parameter values in these strings:

    • For client_id — the ID of the OAuth app registered in Step 1.
    • For redirect_uri — the URL of the auxiliary page you entered in the Redirect URI field for the OAuth app that has this client_id (if you don't specify any URL, the first value from the Redirect URI field will be used).
  • tokenPageOrigin with the "origin" of the auxiliary page that receives the token.