How to Authorize Users in Sync Gateway
The Couchbase Mobile Sync Gateway provides various ways to authenticate and authorize users for mobile applications. Authentication methods include HTTP Basic Authentication, Pluggable Authentication (such as Facebook), and Custom Authentication. Authorization mechanisms involve the use of 'admin_channels' feature in the JSON configuration file, which enables a list of channels where the user has access to once they are authenticated. The Sync Function allows users to submit revisions to documents by checking if the users are authorized to access the document.
Company
Couchbase
Date published
Jan. 19, 2016
Author(s)
William Hoang, Mobile Developer Advocate, Couchbase
Word count
945
Language
English
Hacker News points
None found.