OAuth that just works.
oauthd, also known as the 'oauth Daemon' is the open source version of OAuth.io's core.
It is a solution based on node.js that enables you to set up and run your own stand-alone, completly free, web Background API Server.
oauthd works with all your favorite platforms, whether social (Facebook, Twitter, LinkedIn...) or SaaS (Mailchimp, Paypal, Stripe...).
With oauthd, you can make API calls instead of dealing with complex OAuth flows. Abstract tokens with the 'Request API' and get user info in a unified way, no matter which provider you are using. The API also lets you perform CRUD actions on behalf of users.
oauthd lets you choose an authorization flow that fits your needs (client-side or server-side). It secures providers API access with SSL encryption and allows you to specify domains/url restrictions for more security.
Through the oauthd default administration interface, you can start adding OAuth providers to your app and get a public key to start using these APIs right away.
oauthd is highly extendable thanks to a plugin management system based on Git. Each plugin can brings its own layer of features. Anyone can create his own plugin and is free to share it with the Open Source Community. We are eager to see you contribute!
Default plugins are furnished to ensure a working minimum environment, with:
- The request system plugin
- The '/me' feature plugin
- The default auth plugin, which lets you administrate oauthd
- The default back office front plugin, which lets you manage apps, providers and access to other plugins' configuration from the browser
You can learn more about plugins development here.
As soon as you are done with pre-requisites, you can simply install oauthd from npm, by executing the following command:
npm install -g oauthd
Once you've installed the oauthd npm package globally, you will have the
oauthd command available in your shell. This command allows you to create
new oauthd instances, start them, and manage their plugins.
There is also a Docker container for oauthd if you want to try running oauthd inside a VM: Docker hub repository.
You can use the oauthd server from you app directly through the API or use one of our SDKs:
Client side SDKs
Server side SDKs
Have a question?
Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.
Copyright (C) 2014 Webshell SAS https://github.com/oauth-io/oauthd and other contributors
Licensed under the Apache License 2.0