How to Set Up a 401 Page
Setting up a 401 page for your Softr app.
Your users see a HTTP 401 Unauthorized client error status response code, when they don't have the required credentials for access the page (e.g. you've set the visibility to logged-in users only and the given user is not logged in).
![401 response](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F903f189d-6480-437c-b5db-ae7d44554888%2F401-response.png?table=block&id=c167cba5-b603-4224-99b1-5d399bfb0f21&cache=v2)
If you want your users to see something else instead of the message shown above, you can create a custom 401 page with your desired content. To do that, you just need to create a new page and set its URL to /401 (the name can be anything) as shown below.
![New 401 page](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fdbfcf036-6fd2-4751-ad60-7f45b1296011%2Fnew-401-page.png?table=block&id=9881d2a7-23a6-4f95-a8cc-bccec8d2a8bb&cache=v2)
That's it. After adding some content to the page and publishing it, your users will not be taken to that page instead of receiving the 401 message.
Did this answer your question?
😞
😐
🤩
Last updated on December 6, 2022