Siteoly Docs
  • Siteoly
  • Create Website
    • Getting started
    • Layout basics
  • How To
    • How to create a new project/website?
  • Card Designs
    • Box Horizontal
    • Box Vertical
    • Box Vertical Modern
    • Box Vertical Wave
    • Box Simple
    • Box Square
    • Modern
    • Circles
    • See all designs
  • Sheets - Getting started
    • Basics
    • Site Settings
    • Default Settings
    • NavBar
    • Header
    • Body
    • Body-Cards
    • Filters
    • Body-Text
    • Detailed Pages
    • Footer
    • Other Settings
    • Advanced Settings
    • Playground
    • Dont Edit
  • Integrations
    • Google Analytics
    • Crisp chat
    • Drift chat
    • Intercom
    • Pop up
    • How to add EngageBay form to header in homepage?
  • Sample websites
    • Modern Blog Sample
    • Sample 1
    • Sample 2
    • Job Board
    • Podcast Sample
    • Restaurant Sample
    • Real Estate Best Places
    • Product List
    • Affiliate Sample
    • Blog Sample
    • Pinterest Sample
    • Instagram Gallery Sample
    • Youtube Sample
    • Events List
    • Marketplace
    • App Listing
    • Nomad List
    • Books List
    • Modern List Sample
  • Basics
    • How does search bar work?
    • How to add more than 4 tags for cards?
    • How to turn off the search bar display on home page?
  • Advanced
    • Embed external Javascripts and CSS
    • How to connect to a custom domain?
    • How to add video to Detailed Pages?
    • How to use Google fonts?
    • Setting Pagination Size (cards per page) for cards display
    • List of CSS classes for custom CSS
    • Embed cards on external sites and internal sites
    • How to add Sitemap to submit to Google Search Console
    • How to configure Filter condition
    • Not seeing SSL certificate?
    • How to create and use Templates?
    • Power up search functionality with extra keywords
    • How to create custom '404' page?
    • Markdown support for Cards description
    • How to create Youtube style video listing websites?
    • Embed extra html/css/scripts into detailed page header for specific detailed pages
    • How to generate automated sitemaps for your website?
    • 'Bring Your Own Code' for dynamic content in Detailed Pages
    • Enable Authentication (Login/Logout)
    • Restrict Detailed Pages Access with Access Code
    • How to add video in Home Page under the Header?
    • How to disable Black Overlay for Header Image?
    • How to use Google Maps on the pages?
    • How to use Google Drive images for cards?
  • Billing
    • Plans & Subscriptions
  • FAQ
    • Not able to access the site after creating the site?
  • Legal
    • Privacy Policy
  • Life Time Deal
    • Life Time Deal
  • How to add Mailchimp URL?
Powered by GitBook
On this page
  • How to lock only specific pages with Auth (Email/Password login):
  • Testing
  • How to logout from the website?

Was this helpful?

  1. Advanced

Enable Authentication (Login/Logout)

This page will help to enable authentication so that only logged in users can access your website.

Previous'Bring Your Own Code' for dynamic content in Detailed PagesNextRestrict Detailed Pages Access with Access Code

Last updated 3 years ago

Was this helpful?

This page will help you to enable Authentication for your websites built on . Here is the sample for reference.

By enabling this feature, only a given set of users (with username/password) can only login to the site and access the site and any internal pages (detailed pages).

This feature is only available in Pro, Pro Plus and Enterprise plans.

Please follow below steps to enable Authentication and enable secure access to your websites and all of its internal pages.

  1. Goto your Google spreadsheet

  2. Goto 'DONT EDIT' sheet. In Column A, if you see "Enable Authentication", ignore Step 3 and Step 4 and move to Step 5.

  3. Add a new cell in Column A as - "Enable Authentication" (without quotes)

  4. Now goto "OtherSettings" sheet and you should see a row as "Enable Authentication"

  5. Enter the value you want to set in the cell next to "Enable Authentication".

Enable Authentication can take 3 values.

Next Steps on how to create Usernames and password:

  1. Create a new additional sheet (in the same Google sheet link) with name 'Auth' and add below columns.

  2. Column A: Username

    Column B: Password

    Column C: Display Name

How to lock only specific pages with Auth (Email/Password login):

  1. For the pages you want to lock, update the 'Extra Config' column as [Locked: Yes]

  1. By default all the pages will be open for everyone unless you lock the page or lock the full site from 'Other Settings' sheet.

Testing

  1. Once all the above steps are done, use 'live test' link to pull latest changes

  2. Goto your website and see. If you set 'Enable Authentication' to 'Full Site' or 'Detailed Pages Only' in the 'OtherSettings' sheet, it should show the login page. Use the Username/password set in 'Auth' sheet to login.

  3. If you want to disable Auth, just set 'Enable Authentication' to 'No' in the 'OtherSettings' and use 'live test' link to re-pull the new settings.

Please get in touch with support if you need any assistance in setting up Authentication for your websites built on Siteoly.

How to logout from the website?

Once you open the website (with Authentication enabled), you will see a little chevron button on the right side of the website. Click on the 'Logout' button to logout from LoggedIn session. (See below).

Here is the sample for reference.

Goto 'Detailed Pages' sheet and add a new column at the end as 'Extra Config' (Do this only if you don't see 'Extra Config' column in the sheet. Make sure this is Column H. See to make sure you have all required columns.

Google Sheet Link
this 'Detailed Pages' sheet for reference
Siteoly
Google Sheet Link