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

Allow to specify the type of remote authentication #5438

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mdellweg
Copy link
Member

@mdellweg mdellweg commented Jun 3, 2024

When configuring remote authentication (by the reverse proxy), one should be able to augment the openapi security specification accordingly.

fixes #5437

@mdellweg mdellweg marked this pull request as ready for review June 3, 2024 16:17
@mdellweg mdellweg force-pushed the 5437_remote_auth_spec branch 4 times, most recently from 1200841 to d29d56e Compare June 4, 2024 20:07
CHANGES/5437.feature Outdated Show resolved Hide resolved
@mdellweg mdellweg force-pushed the 5437_remote_auth_spec branch 3 times, most recently from 5cd00a0 to 1f3b4df Compare June 6, 2024 17:29
When configuring remote authentication (by the reverse proxy), one
should be able to augment the openAPI security specification
accordingly.

fixes pulp#5437
@@ -15,7 +15,7 @@ djangorestframework>=3.14.0,<=3.15.1
djangorestframework-queryfields>=1.0,<=1.1.0
drf-access-policy>=1.1.2,<1.5.1
drf-nested-routers>=0.93.4,<=0.94.1
drf-spectacular==0.26.5 # We monkeypatch this so we need a very narrow requirement string
drf-spectacular==0.27.2 # We monkeypatch this so we need a very narrow requirement string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this PR need 0.26.5 specifically? or is this an incidental change? If the latter - including in this PR makes the PR way harder to backport.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's worse than that. Seems like we need openapi 3.1 instead of 3.0.3 and now we need to coordinate a lot of other things including the openapi-generator.
But on the one hand we'll probably not backport this feature, and otoh i split this version bump into another PR already.

@mdellweg mdellweg marked this pull request as draft July 10, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remote authentication must provide a way to be represented in openapi spec
3 participants