mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-21 23:43:15 +01:00
feat: OAuth 2.0 Client Credentials as Basic Auth - update test data
This commit is contained in:
parent
1ec999ebdd
commit
23cfb490b9
@ -31,6 +31,19 @@ auth:digest {
|
|||||||
password: secret
|
password: secret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auth:oauth2 {
|
||||||
|
grant_type: authorization_code
|
||||||
|
callback_url: http://localhost:8080/api/auth/oauth2/authorization_code/callback
|
||||||
|
authorization_url: http://localhost:8080/api/auth/oauth2/authorization_code/authorize
|
||||||
|
access_token_url: http://localhost:8080/api/auth/oauth2/authorization_code/token
|
||||||
|
client_id: client_id_1
|
||||||
|
client_secret: client_secret_1
|
||||||
|
client_secret_method: client_credentials_post
|
||||||
|
scope: read write
|
||||||
|
state: 807061d5f0be
|
||||||
|
pkce: false
|
||||||
|
}
|
||||||
|
|
||||||
vars:pre-request {
|
vars:pre-request {
|
||||||
departingDate: 2020-01-01
|
departingDate: 2020-01-01
|
||||||
~returningDate: 2020-01-02
|
~returningDate: 2020-01-02
|
||||||
|
@ -32,6 +32,18 @@
|
|||||||
"username": "john",
|
"username": "john",
|
||||||
"password": "secret"
|
"password": "secret"
|
||||||
},
|
},
|
||||||
|
"oauth2": {
|
||||||
|
"grantType": "authorization_code",
|
||||||
|
"clientId": "client_id_1",
|
||||||
|
"clientSecret": "client_secret_1",
|
||||||
|
"clientSecretMethod": "client_credentials_post",
|
||||||
|
"authorizationUrl": "http://localhost:8080/api/auth/oauth2/authorization_code/authorize",
|
||||||
|
"callbackUrl": "http://localhost:8080/api/auth/oauth2/authorization_code/callback",
|
||||||
|
"accessTokenUrl": "http://localhost:8080/api/auth/oauth2/authorization_code/token",
|
||||||
|
"scope": "read write",
|
||||||
|
"state": "807061d5f0be",
|
||||||
|
"pkce": false
|
||||||
|
},
|
||||||
"wsse": {
|
"wsse": {
|
||||||
"username": "john",
|
"username": "john",
|
||||||
"password": "secret"
|
"password": "secret"
|
||||||
|
@ -61,6 +61,7 @@ auth:oauth2 {
|
|||||||
access_token_url: http://localhost:8080/api/auth/oauth2/authorization_code/token
|
access_token_url: http://localhost:8080/api/auth/oauth2/authorization_code/token
|
||||||
client_id: client_id_1
|
client_id: client_id_1
|
||||||
client_secret: client_secret_1
|
client_secret: client_secret_1
|
||||||
|
client_secret_method: client_credentials_basic
|
||||||
scope: read write
|
scope: read write
|
||||||
state: 807061d5f0be
|
state: 807061d5f0be
|
||||||
pkce: false
|
pkce: false
|
||||||
|
@ -77,6 +77,7 @@
|
|||||||
"grantType": "authorization_code",
|
"grantType": "authorization_code",
|
||||||
"clientId": "client_id_1",
|
"clientId": "client_id_1",
|
||||||
"clientSecret": "client_secret_1",
|
"clientSecret": "client_secret_1",
|
||||||
|
"clientSecretMethod": "client_credentials_basic",
|
||||||
"authorizationUrl": "http://localhost:8080/api/auth/oauth2/authorization_code/authorize",
|
"authorizationUrl": "http://localhost:8080/api/auth/oauth2/authorization_code/authorize",
|
||||||
"callbackUrl": "http://localhost:8080/api/auth/oauth2/authorization_code/callback",
|
"callbackUrl": "http://localhost:8080/api/auth/oauth2/authorization_code/callback",
|
||||||
"accessTokenUrl": "http://localhost:8080/api/auth/oauth2/authorization_code/token",
|
"accessTokenUrl": "http://localhost:8080/api/auth/oauth2/authorization_code/token",
|
||||||
|
Loading…
Reference in New Issue
Block a user