bukalapak/snowboard

Enter your own api key on playground

sangar82 opened this issue · 0 comments

HI!

First of all, thanks for this great package! I´m playing with it to change our documentation to snowboard.

We have a JWT token authentification for the API and a multi-tenant app. We have a lot of customers who consume our api and each one ask for API tokens with a time of live.

Is there any chance that each client could write their token on the playground?

I have this configuration:

        development: {
          url: "http://localhost:8087/",
          auth: {
            name: "apikey",
            options: {
              key: "Bearer ",
              header: "Authorization"
            }
          }
        },

It's would be great that the user can input their token on the playground (at this moment is unwritable)

Captura de pantalla 2020-04-15 a las 10 05 35

Thanks !!