broadinstitute/metabaron

Name: metabaron

Owner: Broad Institute

Description: OIDC access_token userinfo endpoint for multiple Providers

Created: 2018-04-11 01:21:46.0

Updated: 2018-05-08 15:32:29.0

Pushed: 2018-05-08 15:32:28.0

Homepage: null

Size: 22

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

metabaron

OIDC access_token userinfo endpoint for multiple Providers. Introspects both opaque and JWT tokens. Used as a /userinfo endpoint in your favorite resource server. Useful if you want to “trust” multiple Oauth Providers.

format for sending to metabaron: https://metabaron/introspect?access_token=<token> or Authorization: Bearer <token> https://metabaron/introspect

startup

DJANGO_SETTINGS_MODULE=metabaron.settings.local sh scripts/start.sh – alter the metabaron/settings/<file> if you want different settings on startup. For instance if you want to point at a real DB.

Alter metabaron/scripts/start.sh if you want a different username/password as your admin. You can change after startup, too.

first login

go to http://localhost:8000/admin/ or however you set it up and use your username/password. Add JWKS URLs if they exist and add Introspection endpoints. Google is there by default.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.