GithubHelp home page GithubHelp logo

bhanditz / academies-oauth-backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appsembler/academies-oauth-backend

0.0 2.0 0.0 6 KB

The Texas Gateway OAuth 2 backend for Academies microsite

License: MIT License

Python 100.00%

academies-oauth-backend's Introduction

Trinity-Academies OAuth 2 Backend =============================

Travis

Overview

A Python Social Auth backend for Texas Gateway (Trinity), mostly used for Open edX but can be used elsewhere.

License

The code in this repository is licensed under the MIT License unless otherwise noted.

Please see LICENSE.txt for details.

The Backend Dependency on Python Social Auth

The backend depends on Python Social Auth. It is compatible with both of the legacy monolithic Python Social Auth that is being used on Ficus and previous releases, and the new split Python Social Auth that is being used on Ginkgo and upcoming releases.

SSO Endpoints

The backend consumes the following URLs:

  • Registration: https://pass.texasgateway.org/register
  • Login: https://pass.texasgateway.org/oauth/v2/auth/login
  • AUTHORIZATION_URL: https://pass.texasgateway.org/oauth/v2/auth
  • ACCESS_TOKEN_URL: https://pass.texasgateway.org/oauth/v2/token

When using the staging environment (see below), the domain pass-staging.texasgateway.org is used instead.

The OAuth server provides the following information about the user:

  • email
  • username
  • fullname
  • district

Backend Extra Settings

In addition to the usual client, secret key and other settings. This backend requires the ENVIRONMENT configuration:

SOCIAL_AUTH_TRINITY_ENVIRONMENT = 'staging'  # or 'production'

In Open edX, this is usually set via the admin panel in the backend's Other Settings field:

{ "ENVIRONMENT": "staging" }

Reporting Security Issues

Please do not report security issues in public. Please email [email protected].

academies-oauth-backend's People

Contributors

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