Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ability to Provide provider_info to OpenIDAuth #148

Merged
merged 8 commits into from
Jun 27, 2024

Conversation

ric-evans
Copy link
Member

@ric-evans ric-evans commented Jun 27, 2024

@ric-evans ric-evans added the enhancement New feature or request label Jun 27, 2024
@ric-evans ric-evans requested a review from dsschult June 27, 2024 20:32
@ric-evans ric-evans self-assigned this Jun 27, 2024
@ric-evans ric-evans merged commit 63f37d0 into master Jun 27, 2024
24 checks passed
@ric-evans ric-evans deleted the openid-auth-w-provider-info branch June 27, 2024 20:49
ric-evans added a commit to Observation-Management-Service/ewms-message-queue-service that referenced this pull request Jun 27, 2024
ric-evans added a commit to Observation-Management-Service/ewms-message-queue-service that referenced this pull request Jun 27, 2024
* Add `auth_token` to MQ Profile

* <ci> modify openapi/jsonschema file(s)

* <ci> modify rest documentation

* make null the default

* <ci> modify openapi/jsonschema file(s)

* generate auth token on activation (wip)

* use transaction session for multi-collection inserts

* fix keyerror

* update tests

* update 404

* add `create_token()` -- wip

* <bot> update dependencies*.log files(s)

* add `BROKER_URL` to `.../mq-profiles/public` response

* <ci> modify openapi/jsonschema file(s)

* <bot> update dependencies*.log files(s)

* update test

* add all args to `Auth()` and `create_token()`

* flake8

* fix paths

* (re)fix test

* update 40* test

* update 40* test - 2

* update 40* test - 3

* update 40* test - 4

* update 40* test - 5

* add `broker_type` and `broker_address` to mqprofile

* <ci> modify openapi/jsonschema file(s)

* <ci> modify rest documentation

* <bot> update dependencies*.log files(s)

* update test

* update jwt creation

* add `/.well-known/jwks.json` handler

* <bot> update setup.cfg

* update ci

* update ci - 2

* <bot> update dependencies*.log files(s)

* add `jwks_auth.py`

* add logic for key updating

* use py 3.12

* <bot> update setup.cfg

* <bot> update dependencies*.log files(s)

* add isort gha

* its `RS256`

* use rabbimq's Rich Authorization Request

* <bot> auto code format file(s)

* fix issuer address

* use `as_dict=True`

* fix `kid`

* <bot> auto code format file(s)

* <bot> update dependencies*.log files(s)

* put jwks in db

* <bot> auto code format file(s)

* make index jwks db

* jwks db exp logic

* logging

* require `BROKER_QUEUE_AUTH_ISSUER_URL`

* <bot> auto code format file(s)

* move deleting expired jwks to `GET` logic

* use `wipac-dev-rest-interface-schema-action@v1.2` (uses `__`)

* add openapi spec for `/.well-known/jwks.json`

* <ci> modify openapi/jsonschema file(s)

* <ci> modify rest documentation

* update path-checking unit test

* fix path

* <ci> modify openapi/jsonschema file(s)

* <ci> modify rest documentation

* use `WIPACrepo/wipac-dev-rest-interface-schema-action@main`

* <ci> modify openapi/jsonschema file(s)

* <ci> modify rest documentation

* use `WIPACrepo/wipac-dev-rest-interface-schema-action@v1.3`

* openapi syntax

* <ci> modify openapi/jsonschema file(s)

* <ci> modify rest documentation

* <bot> update dependencies*.log files(s)

* mypy

* <bot> auto code format file(s)

* jsonschema try adding `"additionalProperties": true`

* <ci> modify openapi/jsonschema file(s)

* <ci> modify rest documentation

* `WIPACrepo/wipac-dev-rest-interface-schema-action@main`

* <ci> modify openapi/jsonschema file(s)

* <ci> modify rest documentation

* fix handler route

* Revert "fix handler route"

This reverts commit a27d19f.

* fix regex -> jsonschema grammar

* `WIPACrepo/wipac-dev-rest-interface-schema-action@v1.3`

* <bot> update dependencies*.log files(s)

* add path component `"mqbroker-issuer"` to jwks paths

* <ci> modify openapi/jsonschema file(s)

* <ci> modify rest documentation

* stub out new integration test

* add testing for public key

* <bot> update dependencies*.log files(s)

* fix docker mount

* fix docker mount - mkdir

* fix docker mount - mkdir - 2

* fix docker mount - mkdir - 3

* raise default 3rd party logger level

* fix no-expiration jwk logic

* ci file mkdir - 2

* logging for tests

* ci file mkdir - 3

* fix test - jwks uri

* jwks logic: fix potential inf recursion & start up condition

* ci: split key dirs into step

* `set -ex`

* fix docker mount - 4

* make separate dirs

* tests: use `cryptography` to gen keys

* log exp

* log jwk

* remove id from jwk mongo docs

* meeting the zoo of objects over at `cryptography`

* pass

* tests: get and validate jwt(s)

* add a print

* update workflow test

* update workflow test - 2

* generate jwt for all integration tests

* generate jwt for all integration tests - 2

* meta

* test with key refreshing

* test with key refreshing - 2

* test with key refreshing - 3

* add missing await

* <bot> auto code format file(s)

* fix id

* fix refactor

* <bot> auto code format file(s)

* use new feature in WIPACrepo/rest-tools#148

* <bot> update dependencies*.log files(s)

---------

Co-authored-by: github-actions <github-actions@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants