workfloworchestrator / orchestrator-core

The workflow orchestrator core repository
Apache License 2.0
45 stars 15 forks source link

HTTPBearer token is set, Auth button not shown on /api/docs #758

Closed Igoranze closed 1 month ago

Igoranze commented 1 month ago

Part of https://github.com/workfloworchestrator/orchestrator-core/issues/670

This PR adds a Depends and extracts the token from the request in order to allow for HTTPBearer requests. Part of the missing HTTPBearer request was that the /api/docs auth button was not shown.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.76%. Comparing base (d5f46ba) to head (d97d6ac). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #758 +/- ## ======================================= Coverage 83.76% 83.76% ======================================= Files 190 190 Lines 9447 9450 +3 Branches 924 924 ======================================= + Hits 7913 7916 +3 Misses 1283 1283 Partials 251 251 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.