GoTrue JS Examples

Hi there! This is my playground to learn more about Netlify’s GoTrue JS client library.

The code for this site is on GitHub.

Open your browser’s developer tools and type auth in the console to play around with the instance. You can try:

      
        var email = "youremail@example.com";
        var password = "a-very-secret-password";

        auth.signup(email, password)
          .then(response => console.log("success!", response))
          .catch(error => console.log("error :(", error));
      
    

Sign up