Forem Creators and Builders 🌱

Josh Puetz for Forem Core Team

Posted on • Edited on

Changelog: New Year, New U(ser authentication provider) - Sign in with Google

Happy belated new year! A new year bring opportunities for self improvements and rebirth, and what better way to overhaul yourself then by adding a new authentication method to your Forem account?

Sign in with Google now rolling out to Forems

Starting today Sign in Google support is rolling out to a Forem near you. It works similarly to our existing support for other identify providers like Twitter and Github: after you've configured your Forem user will be able to sign up or login in with their Google username and password. Existing users can connect their Google accounts on their user account settings page.

As with other third party authentication providers setup can be a bit tricky, so do be sure to checkout out our configuration instructions if you're interested in adding Sign in with Google to your own Forem.

Top comments (19)

Collapse
 
lee profile image
Lee • Edited

Hey Josh, have this setup on a couple of Forems now. QQ do we need to Forem app bundle ID and other details to ensure it works on Forem iOS app?

For anyone else setting this up here are a few points worth knowing.

localhost:3000/users/auth/google_o.... Replace the port 3000 if you run Forem on another port. < I have nearly forgot to update to https a couple of times

You need a new Google project per Forem (I think..)

If you add a logo, then you are forced through Google's verfication, no logo, no verification. I added a logo on one project, now in endless loop where I can't remove it so I am forced into verification.

Collapse
 
joshpuetz profile image
Josh Puetz

You don’t need to upload anything to get it to work on the mobile apps, but you’re probably experiencing issues because we have an outstanding bug with Google and Facebook autos working in the mobile apps (they work in mobile browsers just fine). I’m working on a fix!

Collapse
 
lee profile image
Lee • Edited

Just set this up on TMMAL in test mode - worked 1st time πŸ¦„πŸ¦„ just need to publish now - nice one @joshpuetz 🀩

Just checking that i don't need to add a scope to capture the email address at account creation?

Collapse
 
joshpuetz profile image
Josh Puetz

I didn’t have to, but let me know if you do @lee !

Collapse
 
lee profile image
Lee

Great, so with a fresh member, email was saved for you?

Thread Thread
 
joshpuetz profile image
Josh Puetz

It was, but I’ll double check my settings and update the installation instructions if needed!

Thread Thread
 
joshpuetz profile image
Josh Puetz

So I did some checking, and I with my Forems I didn't have to specify any scopes while running in internal mode. I'm not sure what will happen with an externally accessible Forem, but I'm going to recommend adding the default scopes.

alt text

Thread Thread
 
lee profile image
Lee

I’ll add the scopes in the morning and report back when approved - approval process seems to take a while!

Thread Thread
 
lee profile image
Lee

Scopes added on tmmal. Will let you know how the verification proceeds.

Collapse
 
ben profile image
Ben Halpern

Woohoo!

Collapse
 
ellativity profile image
Ella (she/her/elle)

Hey @thphuc and @yshmarov - it's here!

Collapse
 
thphuc profile image
Phuc Tran

Thanks @ellativity Great news!

Collapse
 
ildi profile image
Ildi

Awesome, another very good option for Forem users!

I hope to see a Sign In with Ethereum auth supported soon πŸ₯³

Collapse
 
lee profile image
Lee

Oh me to for sure, that sounds amazing, mm and phantom πŸ₯³

Collapse
 
michaeltharrington profile image
Michael Tharrington • Edited

Soooo dope. This is gonna be greatly appreciated by folks!

Collapse
 
lee profile image
Lee

Niiiiiiice!!!!!!

Collapse
 
cronlabspl profile image
cronlabspl

I dont see what can be so exciting in enabling users to sign up/in with Google especially since Google is widely used.

Should have been added as one of first addition to forem long ago.

Collapse
 
amyatforem profile image
Amy Lin

πŸš€βœ¨ So exciting!

Collapse
 
reyesvicente profile image
Vicente Antonio G. Reyes

The iOS app is missing the GitHub signin button.