Coder Social home page Coder Social logo

ministryofjustice / analytics-platform-concourse-auth0-client-resource Goto Github PK

View Code? Open in Web Editor NEW
0.0 8.0 1.0 43 KB

Auth0 Client resource for Concourse

License: MIT License

Python 95.87% Dockerfile 1.86% Makefile 2.27%
analytics-platform concourse auth0 concourse-resource

analytics-platform-concourse-auth0-client-resource's Introduction

Docker Repository on Quay

Auth0 Client Resource

Provides a Concourse resource to get and create Auth0 Clients. Used to create a Client on the fly when deploying a webapp on the Analytical Platform, allowing authentication delegation to Auth0 using OTP emails.

Resource configuration

These parameters go into the source fields of the resource type. Bold items are required:

Parameter Description
client-id Auth0 client ID for authentication to the Management API
client-secret Auth0 client secret for authentication to the Management API
domain Auth0 client domain for authentication to the Management API
authz-url Base URL of the Auth0 Authorization Extension API
authz-audience API Audience of the Auth0 Authorization Extension API

Behaviour

check: Not Supported

in: Retrieve Client Details

Fetches the client ID and secret.

Parameters

  • name: Required. The name of the client.
  • domain: Required. The domain of the client, such that the OIDC well-known URLS are located at https://{name}.{domain}/.well-known

out: Create Client

Creates a client with the specified name if it does not exist.

Parameters

  • name: Required. The name of the client.
  • domain: Required. The domain of the client, such that the OIDC well-known URLS are located at https://{name}.{domain}/.well-known

Installation

This resource is not included with Concourse CI. You must integrate this resource in the resource_types section of your pipeline.

resource_types:
- name: auth0-client
  type: docker-image
  source:
    repository: quay.io.mojanalytics/concourse-auth0-resource
    tag: 0.1.0

resources:
- name: webapp-auth0-client
  type: auth0-client
  source:
    client-id: ((auth0-client-id))
    client-secret: ((auth0-client-secret))
    domain: ((auth0-domain))
    authz-url: ((auth0-authz-url))
    authz-audience: ((auth0-authz-audience))

jobs:
- name: deploy
  plan:
  - put: webapp-auth0-client
    params:
      name: ((client-name))
      domain: ((client-domain))

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b feature/new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin feature/new-feature
  5. Submit a pull request.

License

MIT Licence (MIT)

analytics-platform-concourse-auth0-client-resource's People

Contributors

andyhd avatar djsd123 avatar ntoll avatar r4vi avatar xoen avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

uk-gov-mirror

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.