Replies: 7 comments 1 reply
-
Hey @szana8 Please take a look at "Security" section in docs: https://scramble.dedoc.co/usage/security It should do the job. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Yea, but if I choose clientCredentials I can not add my client id and secret in anywhere. It's empty. |
Beta Was this translation helpful? Give feedback.
-
This is the api.json: And this is the bundled json: |
Beta Was this translation helpful? Give feedback.
-
What is the bundled json? I don't understand the difference |
Beta Was this translation helpful? Give feedback.
-
I don't know I could generate a bundled json from the UI. I think that a formatted version or I don't know. |
Beta Was this translation helpful? Give feedback.
-
Hey @szana8 I see. This looks like Stoplight Elements issue and generated docs are fine. Let me see if I can do something with it. |
Beta Was this translation helpful? Give feedback.
-
Closing the issue as this is Spotlight Elements issue |
Beta Was this translation helpful? Give feedback.
-
Hi,
As a standard API documentation it would be great to have an authorisation button and based on the auth type we can add the username and password, client_id and secret into a form and do the authentication than, use the token for the necessary request after. Like in swagger: https://swagger.io/docs/specification/authentication/ the ui look like in here: https://vivekcek.wordpress.com/2020/12/30/swaggerui-client-credentials-authentication-not-working-token_endpoint_auth_methodclient_secret_post-vs-client_secret_basic/
Without this we need postman or other service to get the bearer token than add it to the request in the ui.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions