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
{{ message }}
This repository was archived by the owner on Jan 27, 2020. It is now read-only.
Thank for your amazing lib.
i'm setup appointer/swaggervel for my project and using laravel passport too.
i need to pass throw passport to using api in swagger ui, then changed config/swaggervel.php like:
`/*
|--------------------------------------------------------------------------
| Uncomment to add response headers when swagger is generated
|-------------------------------------------------------------------------- /
'view-headers' => [
'Access-Control-Allow-Origin' => '',
'Access-Control-Allow-Methods' => 'GET, POST',
'Access-Control-Allow-Headers' => 'X-Requested-With',
],
/*
|--------------------------------------------------------------------------
| You can configure OAuth2 authorization by changing value to true
|--------------------------------------------------------------------------
*/
'init-o-auth' => true,
/*
|--------------------------------------------------------------------------
| Default clientId. MUST be a string
|--------------------------------------------------------------------------
*/
'client-id' => 'my client id',
/*
|--------------------------------------------------------------------------
| Default clientSecret. MUST be a string
|--------------------------------------------------------------------------
*/
'client-secret' => 'my client secret',
/*
|--------------------------------------------------------------------------
| Realm query parameter (for oauth1) added to authorizationUrl and tokenUrl.
| MUST be a string
|--------------------------------------------------------------------------
*/
'realm' => '',
/*
|--------------------------------------------------------------------------
| Application name, displayed in authorization popup. MUST be a string
|--------------------------------------------------------------------------
*/
'app-name' => 'my app name',
/*
|--------------------------------------------------------------------------
| Scope separator for passing scopes, encoded before calling, default value is a space
| (encoded value %20). MUST be a string
|--------------------------------------------------------------------------
*/
'scope-separator' => '',
/*
|--------------------------------------------------------------------------
| Additional query parameters added to authorizationUrl and tokenUrl.
|--------------------------------------------------------------------------
*/
'additional-query-string-params' => [
// 'QueryStringKey' => 'QueryStringValue'
],
/*
|--------------------------------------------------------------------------
| Only activated for the accessCode flow. During the authorization_code request to the tokenUrl,
| pass the Client Password using the HTTP Basic Authentication scheme
| (Authorization header with Basic base64encoded[client_id:client_secret]).
|--------------------------------------------------------------------------
*/
'use-basic-auth-with-access-code-grant' => true,
`
but it isn't working.
Can you check this, pls.
Thank you.
Thank for your amazing lib.
i'm setup appointer/swaggervel for my project and using laravel passport too.
i need to pass throw passport to using api in swagger ui, then changed config/swaggervel.php like:
`/*
|--------------------------------------------------------------------------
| Uncomment to add response headers when swagger is generated
|--------------------------------------------------------------------------
/
'view-headers' => [
'Access-Control-Allow-Origin' => '',
'Access-Control-Allow-Methods' => 'GET, POST',
'Access-Control-Allow-Headers' => 'X-Requested-With',
],
but it isn't working.
Can you check this, pls.
Thank you.