SSO with Firebase


(Adam Beers) #1

Is it possible to use Firebase as the SSO for Discourse? I’ve tried several times to get it working, but to no avail.

Has anyone been successful in using Firebase with Discourse?


(Vinoth Kannan) #2

Can you share your code?


(Adam Beers) #3

There’s no real code yet. I configured Discourse with the sso secret and url, but it didn’t work. I don’t really know what the url should be. Thanks the issue.


(Saurek) #4

Also curious about how to do this.


#5

Bump. Is this possible?


(Gaurav Negi) #6

Did anyone figure out, how to use authentication from firebase for discourse?


(Adam Beers) #7

Nobody found anyway to do it that I know of. I stopped looking when I didn’t get any real help. But I did figure out an alternative. All authentication is done through Firebase. If a user forgets a password or wants to change it, it is handled by Firebase. Then, if a user is able to authenticate through Firebase, I created an account in Discourse with the same user name, but with a global, secure password. Worked for my solution. You can check out the app I made for a client on Android. Search for WWJDNow in the Android Play Store. I haven’t had to do anything similar for another client yet, so I didn’t look into if further and don’t have any other example. Hope that helps.