Skip to content

feat: swagger auth#187

Open
MyleneSimon wants to merge 2 commits intousnistgov:developfrom
MyleneSimon:feature/swagger-auth
Open

feat: swagger auth#187
MyleneSimon wants to merge 2 commits intousnistgov:developfrom
MyleneSimon:feature/swagger-auth

Conversation

@MyleneSimon
Copy link
Copy Markdown
Collaborator

@MyleneSimon MyleneSimon commented Dec 30, 2021

What does this PR do?

Feature:

  • Enable auth in Swagger UI

    • click on Authorize button from main page, and then Authorize button from pop-up will redirect to Keycloak login page
    • upon successful login Keycloak will redirect to Swagger UI and try it out requests will have the bearer token added to the headers
  • Fixes:

    • Fix missing /api/plugins endpoints
    • Removed URL templating display that was causing issues in try it out requests

Note: Swagger UI origin and url have to be added to the allowed ones in Keycloak wipp client configuration (see realm changes)

Related issues

Closes #175 and #182

@MyleneSimon MyleneSimon added the feature New feature or request label Dec 30, 2021
@MyleneSimon MyleneSimon added this to the 3.1.0 milestone Dec 30, 2021
@MyleneSimon MyleneSimon requested a review from ktaletsk December 30, 2021 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant