Git Product home page Git Product logo

oauth-ulb's Introduction

ULB OAuth

This repository holds the code for a OAuth2 service in front of the ULB intranet.

By trusting this service (and subsequently the ULB "intranet"), this enables your app to authenticate users with their ULB netid and gather some information about them (first and last names, email address, faculty, ...)

Screenshot of the authorization dialog

The (free and open) reference instance is available at TBD and a demo consumer using it is available at TBD.

Usage

First, login and create a new application at https://TBD/o/applications/ :

  • Choose Client type: confidential and Authorization grant type: Authorization code.
  • Fill Redirect uris with the url of your app (you can use localhost for dev purposes)

TDB

Installation and deployment

This code is intended to be deployed only once and be used as much as you want as an open service.

The reference deployment URL will be referenced here when available.

If you still wish to deploy your own (for development or you don't trust us ?), you may follow the procedure in INSTALL.md

License

© Nikita Marchant, Romain Fontaine - 2018

This code is under the AGPLv3 license.

Acknowledgement

We make heavy use of C4ptainCrunch/libnetid.

Thanks to django-oauth-toolkit to make it so easy to implement a OAuth2 provider.

Thanks to Django, Materialize.css and Let's Encrypt respectively for a great web framework, easy and pretty css framework and a SSL/TLS certificate (required for OAuth2)

oauth-ulb's People

Contributors

c4ptaincrunch avatar etnarek avatar

Watchers

 avatar  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.