Closed shane-tomlinson closed 9 years ago
Is there a way we can keep it as much OAuth
instead of Google as possible? Perhaps we can use this for Hotmail as well?
Also, excellent! woo!
@seanmonstar - all of the oauth stuff is contained within google.js
, so we should, in theory, be able to make sideshow.js
the basis for just about any node based IdP.
@shane-tomlinson this looks hawt! I wanna merge it! But it claims merge conflicts. Do you have awsbox with this working that we can point dev at? Excite!
Bump?
@seanmonstar - rebased, setting up ephemeral instances now. Let's figure out what we need to do to merge this...
@seanmonstar - ephemeral instances are: google-oauth.personatest.org and google-oauth-idp.personatest.org
@seanmonstar, @callahad - before merge, we need to copy config.json.example to config.json as well as get some google creds to place into config.example - see https://github.com/shane-tomlinson/browserid-sideshow/commit/f587b1b9d50d0a7fabb944a5d317f4f5c45c7596#diff-12ef3ed9fd13e4ccf3bd7dc3701a5240R3
@shane-tomlinson omg it's beautiful! it just works!
Reads great, but I haven't tested it extensively.
I'm going to try to nuke the config.example.json and stick with our documentation + aborting if things are unset / improperly set approach, if that's OK?
Lastly, there seems to be a lot of abstraction in lib/oauth.js and lib/google.js that I want to re-read a few times before hitting the green button. :)
I'm going to try to nuke the config.example.json and stick with our documentation + aborting if things are unset / improperly set approach, if that's OK?
@callahad - where are things set to begin with?
@shane-tomlinson We look at CONFIG_FILES
in the environment for paths to json documents that hold settings. Most individual settings can be independently set via environment variables, like SESSION_DURATION
.
@callahad - got it, that's a good solution.
@callahad, @seanmonstar - What do we have to do to merge this? Remove things, change things, I don't mind.
config.json.example is removed.
@shane-tomlinson thanks. i'd love to merge, only thing stopping me is local testing. The README hasn't been changed, but I'm sure there's an additional step to setup the oauth. Either that, or are we able to put a default oauth token and secret in the config.js safely?
@seanmonstar - let's talk about this on Monday!
@shane-tomlinson so lets talk!
Any news on this?
Bump. Is it worth resurrecting this code? MDN has 50k gmail Persona users who we need to migrate away from OpenID to OAuth.
Closing in favor of #126
@callahad, @seanmonstar - I am issuing a tentative PR to start to get feedback.