Control access to your published app without any code configuration.
Private published apps add authentication to your Replit Apps without requiring any
code changes. When enabled, Replit restricts access to your app using a Replit login screen.
Only logged in members of your Organization that have access can use the site.
Private Deployments are available only to Teams subscribers. Your Replit App
must be in a Team workspace to use Private Deployments.
Restricted app access is useful for project types including the following:
When publishing your Replit App from a Teams workspace, you can choose between a Public or Private published app.
The following sections describe how to set up and manage your Private published apps.
Scheduled Jobs omit this option because they do not listen for incoming
traffic.
Create a Private Published App
Select the user menu at the top left of the Home screen to view your workspaces.
Verify or select the Team workspace in which to publish your Replit App.
Open the Replit App you want to publish.
Toggle the Private Deployment option to the “on” position as shown below:
After setting the publishing options, select Publish to confirm the publishing.
View your Private Published Apps
Select the user menu at the top left of the Home screen to view your workspaces.
Verify or select the Team workspace in which to publish your Replit App.
From the Home screen, select Deployments from the left dock.
You should see a list of the Team’s published apps similar to the screenshot below:
Edit existing published app visibility
Select the published app and open the Deployment tool.
In the Deployment tab, select Edit commands and secrets, toggle the setting on or off.