Sync Gateway Authentication solutions

52 views
Skip to first unread message

Brendan Duddridge

unread,
Feb 12, 2016, 1:48:30 AM2/12/16
to Couchbase Mobile
Hi,

So Sync Gateway supports Persona, Facebook, and custom authentication as far as I can tell. Persona is shutting down this year it seems.

I'm hoping to provide my customers with a turn-key solution where they could fire up Couchbase Server and Sync Gateway on say a Mac mini in their office and then sync to that.

My customers aren't IT staff, so it would have to be pretty simple to setup. If there was a web interface to Sync Gateway for managing users that would be ideal. Then I could provide them instructions on how to install the server, gateway, and setup their users. It might be too challenging for them to also have to install an authentication app server as well.

Is something like that possible or will I have to write an authentication service or make them use Facebook?

Thanks,

Brendan

Jens Alfke

unread,
Feb 13, 2016, 2:00:58 PM2/13/16
to mobile-c...@googlegroups.com

> On Feb 11, 2016, at 10:48 PM, Brendan Duddridge <bren...@gmail.com> wrote:
>
> My customers aren't IT staff, so it would have to be pretty simple to setup. If there was a web interface to Sync Gateway for managing users that would be ideal.

It wouldn’t be hard to write one, in whatever server-side language/framework you like. All it needs to do is call the Sync Gateway admin API’s _user endpoint to manage user accounts.

—Jens

Brendan Duddridge

unread,
Feb 15, 2016, 3:12:08 AM2/15/16
to Couchbase Mobile
Thanks Jens. I'll have to do some hunting around for an appropriate web app framework. I'm an ex-WebObjects developer, but that's a bit heavy handed for something like this, and difficult to install as a simple turnkey system for a non-techie. I'm hoping to have a double-clickable app server that could handle this.

I just found an interesting one called Perfect that uses Swift as the language for the back-end. https://www.perfect.org

Actually, I'm assuming that I could really just create a Mac app client that runs on a Mac server that connects over the admin port, right?


Thanks,

Brendan
Reply all
Reply to author
Forward
0 new messages