![]() CypressĬypress is a modern front-end testing tool that makes writing integration tests a breeze. If these protected route patterns are unfamiliar to you, I highly recommend checking out Bruno Krebs' article for more. When this route is hit, the application checks to ensure that the state information in the URL's query string matches the state stored in the persisted cookie. ![]() ![]() This route is where the user is redirected after successfully entering their Auth0 credentials. There will be one other route which serves an important purpose: the /callback route. One of the routes will be protected - that is, only accessible for authenticated users - and the other, public. This app will be quite simple: it is a React application with a few routes, powered by React Router 4. Then, be sure to npm install and npm run start in your terminal to spin up the application. Note: You can also refer to the finished product on the master branch. # checkout the base branch git checkout base The Sample Appįirst things first, clone this repo and check out the base branch: # clone the repo git clone Just don't forget to save the changes made to your tenant. In this case, the Username -Password -Authentication value comes from the default the default Database Connections that Auth0 adds to all new tenants. As mentioned in this page, this field defines the "name of the connection to be used for Password Grant exchanges". Lastly, you will have to go to your tenant's settings and set Username -Password -Authentication as the value of the Default Directory property.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |