Skip to main content

OpenID Connect Authorization Code authentication plugin for keystoneauth

Project description

# OpenID Connect Authorization Code grant type support for OpenStack clients

[![GitHub issues](https://img.shields.io/github/issues/indigo-dc/keystoneauth-oidc-authz-code.svg)](https://github.com/indigo-dc/keystoneauth-oidc-authz-code/issues) [![Travis status](https://img.shields.io/travis/indigo-dc/keystoneauth-oidc-authz-code.svg)](https://travis-ci.org/indigo-dc/keystoneauth-oidc-authz-code) [![PyPI version](https://img.shields.io/pypi/v/keystoneauth-oidc-authz-code.svg)](https://pypi-hypernode.com/pypi/keystoneauth-oidc-authz-code/) [![PyPI downloads](https://img.shields.io/pypi/dm/keystoneauth-oidc-authz-code.svg)](https://pypi-hypernode.com/pypi/keystoneauth-oidc-authz-code/) [![GitHub license](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/indigo-dc/keystoneauth-oidc-authz-code/master/LICENSE)

This is an authentication plugin for the OpenStack Clients (namely for the [keystoneauth1](https://github.com/openstack/keystoneauth) library) which provides client support for using the Authorization Code grant type of OpenID Connect.

## Installation

Install it via pip:

pip install keystoneauth-oidc-authz-code

Or clone the repo and install it:

git clone https://github.com/indigo-dc/keystoneauth-oidc-authz-code cd keystoneauth-oidc-authz-code pip install .

## Usage

### CLI

You have to specify the v3oidccode in the –os-auth-type option and provide a valid autorization endpoint with –os-authorization-endpoint or a valid discovery endpoint with –os-discovery-endpoint:

openstack –os-auth-url https://keystone.example.org:5000/v3

–os-auth-type v3oidccode –os-identity-provider <identity-provider> –os-protocol <protocol> –os-project-name <project> –os-project-domain-id <project-domain> –os-identity-api-version 3 –os-client-id <OpenID Connect client ID> –os-client-secret <OpenID Connect client secret> –os-discovery-endpoint https://idp.example.org/.well-known/openid-configuration –os-openid-scope “openid profile email” token issue

### API

To be documented

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keystoneauth-oidc-authz-code-0.1.2.tar.gz (12.0 kB view details)

Uploaded Source

File details

Details for the file keystoneauth-oidc-authz-code-0.1.2.tar.gz.

File metadata

File hashes

Hashes for keystoneauth-oidc-authz-code-0.1.2.tar.gz
Algorithm Hash digest
SHA256 edc00550079dc3a2727645fb26f0539541b86592faf4725a3ed497eaf1f7d9f2
MD5 6724b7003ce2cddedfe5032e6cff9060
BLAKE2b-256 41d392b95754d4cdc9277e6b8df271e2f1322ac38d0e344ec5e0339005588e44

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page