Skip to content

Try-it - Otoroshi Header required #358

Answered by Zwiterrion
sadmin91 asked this question in Q&A
Discussion options

You must be logged in to vote

I think your openAPI is not right configured. The Otoroshi-Client-Id and Otoroshi-Client-Secret headers have to be pass through the security part of your openAPI and not as a required headers.

You will find a solution on this following pseudo-openAPI. The global idea is to add two possibility of passing your apikey : one with the header Authorization as Basic auth and the other with the two headers Otoroshi-Client-Id and Otoroshi-Client-Secret. With this configuration, Daikoku will expose the swagger fill with the generated testing apikey credentials.

We will work to complete the Daikoku documentation on this subject.

openapi: 3.0.1
info:
  title: PWNED Password API
  version: 1.0.0
serve…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by quentinovega
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #357 on December 01, 2021 15:32.