You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this possible with any of the Swagger UIs provided by this package?
servant-swagger-ui: I don't find any occurrence of clientId, client_id or initOAuth
servant-swagger-ui-jensoleg: I do find a call to initOAuth, however the values seem hardcoded? Including the clientId: "ffe7748a-3a3f-4860-a02a-42ab08e4fde2" 🤔
``servant-swagger-ui-redoc: I don't find any occurrence of clientId`, `client_id` or `initOAuth`
If not currently possible: what do you think about adding support for that?
The text was updated successfully, but these errors were encountered:
The hardcoded client ID does seem to be a bug. I haven't used jensoleg. I wouldn't oppose a clean patch that adds the support, but I would have a hard time reviewing it, as I don't know much about OAuth. So it would have to be properly documented and tested.
According to https://swagger.io/docs/open-source-tools/swagger-ui/usage/oauth2/ it's possible to pass some default values to
initOAuth
, e.g.clientId
, so that users do not have to type it every time they log in.Is this possible with any of the Swagger UIs provided by this package?
servant-swagger-ui
: I don't find any occurrence ofclientId
,client_id
orinitOAuth
servant-swagger-ui-jensoleg
: I do find a call toinitOAuth
, however the values seem hardcoded? Including theclientId: "ffe7748a-3a3f-4860-a02a-42ab08e4fde2"
🤔: I don't find any occurrence of
clientId`, `client_id` or `initOAuth`If not currently possible: what do you think about adding support for that?
The text was updated successfully, but these errors were encountered: