# Sign-up & Log in

Authentication is the way the backend handles adding users and allowing them to access certain areas of your app.

Through [Jumpstart](https://docs.flexmoney.uk/documentation/untitled-2/getting-started/jumpstart), Xano automatically adds a user database table and provisions the endpoints needed for you to log in. A special feature is that we create 3 special API endpoints. These endpoints use Authentication tokens also known as a JWT (JSON Web Token) which can be stored using cookies or HTML 5 Web Storage (localStorage or sessionStorage). Choosing which method to use is completely up to you.

***COMING SOON: Oauth (Sign in with Google/Facebook/Twitter/Github)***

With these 3 endpoints, you will be able to set up the sign-up and login experiences for your app.

![](https://gblobscdn.gitbook.com/assets%2F-M8Si5XvG2QHSLi9JcVY%2F-MCUDu6yM8C3LkMQ3E3r%2F-MCUEUX1BooNdwMv849d%2Fauth.png?alt=media\&token=df3bb220-26c3-443d-b727-db2980ef46ca)

**auth/signup** This endpoint creates a user record to the database table using 3 inputs: name, email, and password. It returns an Authentication token which can be used with the auth/me API endpoint to get the information of the user.

![](https://gblobscdn.gitbook.com/assets%2F-M8Si5XvG2QHSLi9JcVY%2F-MCUDu6yM8C3LkMQ3E3r%2F-MCUEFUGuEPyl2dk_KTp%2Fauthsignup.png?alt=media\&token=51b72cab-269f-4c0e-a4ee-22fe6c4c9a80)

**auth/login** This endpoint uses 2 inputs: email and password to retrieve an Authentication token which can be used with the auth/me API endpoint to get the information of the user.

​

![](https://gblobscdn.gitbook.com/assets%2F-M8Si5XvG2QHSLi9JcVY%2F-MCUDu6yM8C3LkMQ3E3r%2F-MCUEXiZefPyMHSDvTuc%2FScreenshot_2020-07-18_00-06-26.png?alt=media\&token=1136ad19-b205-4ad4-a5a0-3499dbe2b097)

**auth/me** This endpoint uses an Authentication token to retrieve the data of the user that it is associated with.

![](https://gblobscdn.gitbook.com/assets%2F-M8Si5XvG2QHSLi9JcVY%2F-MCUDu6yM8C3LkMQ3E3r%2F-MCUEkpSrpUBSrBG3NUW%2Fauthme.png?alt=media\&token=9114dba3-6eef-4c1a-ab11-c1f2eb6a4b2e)

​

​
