Creating Your Own oAuth?


#1

I’m wondering how to go about creating your own oAuth?

Note packaging an existing oAuth for meteor, but creating one for my app…

so,

“sign in with Google”
“sign in with Facebook”
“sign in with A.Com

Mainly, I’m looking for any good resources to learn more about this subject… or even just the terms I need to google with!


#2

http://robfallows.github.io/2015/12/17/writing-an-oauth-2-handler.html


#3

perefect. thanks so much


#4

Or did you mean an Oauth server?

In which case, NPM might be your best bet.


#5

Or this: https://github.com/prime-8-consulting/meteor-oauth2


#6

I want to allow third-party apps to let their users sign in or sign up using the user’s credentials from my application’s


#7

Then you are wanting to run an oauth server. However, you will also need to provide library functions to allow third party apps to use your service (or they won’t). So, basically you need both.

Oauth uses standard HTTP requests, so you don’t need to use Meteor to write an oauth server - there are a number of “other-language” options out there. If you’re going to roll your own (or fork an existing one) you’ll need to do your due diligence regarding security (authentication quality, vulnerabilities, etc).


#8

Thanks for your help. This gives me a good starting point to start researching.