Preview Deploy Authentication

Hello,

I can see from the documentation that it is possible to enable Basic Auth for preview deploys in order to restrict access. Is it possible to enable other authentication for preview deploys like Netlify Identity or use a third party like GitHub?

Many thanks,
Jeff

Hi @knoxjeffrey, the basic-auth access control is done via a custom header so it’s pretty straightforward to implement. However, with Netlify Identity, you would likely need to implement a lot of that code in your site directly. So, while it is likely possible, a lot of the work will fall to you.

Let me know if you have any other questions.