{"repo":"stytchauth/stytch-javascript-example","free":true,"listed":false,"github":"https://github.com/stytchauth/stytch-javascript-example","clone":"git clone https://github.com/stytchauth/stytch-javascript-example.git","description":"An example app using the Stytch Vanilla JavaScript SDK","language":"HTML","stars":24,"topics":["javascript","oauth","stytch"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Stytch Vanilla JavaScript example application Overview This example application demonstrates how one may use Stytch within a Vanilla JavaScript application. There is a wide ecosystem of tools for building and serving JavaScript web apps each with their own implementation style and flavor. For that reason, this example is unopinionated and does not use additional tooling other than HTML, CSS, and our Vanilla JavaScript SDK. The entire application is served out of the public directory using http-server . This project uses Stytch's JavaScript SDK which provides pre-built UI components and headless methods to securely interact with Stytch. This application features Email Magic Links for authentication, as well as our Sessions Management product to manage user sessions. You can use this application's source code as a learning resource, or use it as a jumping off point for your own project. We are excited to see what you build with Stytch! Set up Follow the steps below to get this application fully functional and running using your own Stytch credentials. In the Stytch Dashboard 1. Create a Stytch account. Once your account is set up a Project called \"My first project\" will be automatically created for you. 2. Within your new Project, navigate to SDK configuration, and make the following changes: - Click Enable SDK . - Under Authorized environments add the domain http://localhost:3000 . - Within the Email Magic Links drawer, toggle on Enable the LoginOrCreate Flow . 3. Navigate to ","default_branch":null,"files":null,"tree":[],"storefront":"/r/stytchauth","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stytchauth/stytch-javascript-example/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}