• Stars
    star
    1,538
  • Rank 30,420 (Top 0.6 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 11 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

oauthd - The OAuth Daemon is the open source version of the OAuth.io core

Build Status npm version dependencies Status

Join the chat at https://gitter.im/oauth-io/oauthd

oauthd, also known as the 'oauth Daemon' is the open source version of OAuth.io's core.

What is it?

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.

Main features

This server will allows you to authenticate and to integrate the common API providers, with just three lines of JavaScript, completely abstracting away the complexity of OAuth integration. By using the oauth Daemon, you are free to focus your attention on product development instead of losing time on API integration using OAuth.

Exhaustive: compatible with 100+ providers

oauthd works with all your favorite platforms, whether social (Facebook, Twitter, LinkedIn...) or SaaS (Mailchimp, Paypal, Stripe...).

Simplified API calls

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.

Secured encrypted API

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.

Integrate in less than 90 seconds

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.

Modular design

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.

Installation

Currently, oauthd relies on node.js, npm, redis and the npm package grunt-cli to work. Check out our quickstart tutorial to bootstrap your oauthd server.

As soon as you are done with pre-requisites, you can simply install oauthd from npm, by executing the following command:

(sudo) 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.

Learn more about the oauthd configuration and the command line features.

There is also a Docker container for oauthd if you want to try running oauthd inside a VM: Docker hub repository.

Usage

You can use the oauthd server from you app directly through the API or use one of our SDKs:

Client side SDKs

  • JavaScript
  • iOS
  • Phonegap
  • Android

Server side SDKs

  • Nodejs
  • PHP
  • Go

Learn more about the oauthd apis and the oauthd-sdks.

Contact

Have a question?

Contributing to this project

Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.

License & Copyright

Copyright (C) 2017 Webshell SAS https://github.com/oauth-io/oauthd and other contributors

Licensed under the Apache License 2.0

More Repositories

1

oauth-js

OAuth that just works ! This is the JavaScript SDK for OAuth.io
CoffeeScript
798
star
2

oauth-phonegap

OAuth.io plugin for Apache Cordova/PhoneGap
JavaScript
195
star
3

sdk-php

OAuth that just works ! This is the PHP SDK for OAuth.io
PHP
87
star
4

oauth-ios

OAuth.io library for iOS
Objective-C
81
star
5

oauth-android

OAuth.io library for android
Java
62
star
6

sdk-node

OAuth that just works ! This is the Node.js SDK for OAuth.io
JavaScript
51
star
7

oauthio-server-node

OAuth server SDK
CoffeeScript
18
star
8

oauthio-server-java

Java
15
star
9

tutorial-authentication

JavaScript
14
star
10

oauth-flex

OAuth.io plugin for Apache Flex/ActionScript
ActionScript
7
star
11

usermanagement-demo

User management on a github page using OAuth.io
JavaScript
7
star
12

ios-swift-example

OAuth.io iOS SDK example for Swift
Swift
7
star
13

sdk-ios-tutorial

OAuth that just works! This is the iOS SDK tutorial for OAuth.io
Objective-C
6
star
14

sdk-php-tutorial

This is a tutorial project that explains how to integrate the OAuth.io PHP SDK
JavaScript
5
star
15

oauthd-admin-auth

oauthd admin auth plugin
CoffeeScript
5
star
16

oauthd-request

oauthd request plugin
JavaScript
4
star
17

oauthd-slashme

oauthd slashme plugin
JavaScript
4
star
18

oauthd-front

oauthd default front
JavaScript
3
star
19

oauthd-statistics

Simple statistics plugin for oauthd
JavaScript
3
star
20

sdk-node-tutorial

Learn how to use the OAuth.io Node.js SDK. OAuth that just works !
JavaScript
2
star
21

testing-oauth

This project uses OAuth.io and CasperJs to test the OAuth flow.
JavaScript
2
star
22

server

OAuth server (work in progress)
2
star
23

rest-oauth-server-docs

REST Documentation of the OAuth Server API (using swagger)
JavaScript
2
star
24

oauthd-OAuth2provider

OAuth 2.0 provider plugin for oauthd
JavaScript
1
star