Giter VIP home page Giter VIP logo

serverless-authentification's Introduction

serverless-oauth

serverless implementation of Oauth 2.0.

This service is the implmentation of Oauth 2.0 using serverless technology.

But why first ?

Oauth 2.0 Providers:

Adding loggins for other identity providers, like Facebook, Google and Twitter. We can also plug Cognito to give access to devs through AWS IAM.

SSO:

Using Oauth 2.0 will give us the possiblity to add SSO (Single Sign On) using SAML Without too much trouble and effort.

How to run ?

You can use serverless Offline, with local DynamoDB and SNS / SQS offline to test this. But the best is to deploy to AWS. To deploy run sls deploy

TypeScript

Since this is an implementaion of a protocoal it makes sense to have Interfaces defined. This project use TypeScript to enforce typing and makes it easy to develop (autocomplete, VSCode typescript, doc, etc.)

What is running and what is not ?

In OAuth 2.0 there are 4 modes / grant types, read the OAuth spec/draft for more info. This is what is currently implmented and what is left :

  • Authorization Code: used with server-side Applications
  • Refresh Code: refresh token
  • Implicit: used with Mobile Apps or Web Applications (applications that run on the user’s device, whitout redirection)
  • Client Credentials: used with Applications API access
  • Resource Owner Password Credentials: used with trusted Applications, such as those owned by the service itself

serverless-authentification's People

Contributors

e-nouri avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.