File tree Expand file tree Collapse file tree 4 files changed +27
-0
lines changed
packages/bruno-lang/v2/tests/fixtures Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,19 @@ auth:digest {
31
31
password: secret
32
32
}
33
33
34
+ auth:oauth2 {
35
+ grant_type: authorization_code
36
+ callback_url: http://localhost:8080/api/auth/oauth2/authorization_code/callback
37
+ authorization_url: http://localhost:8080/api/auth/oauth2/authorization_code/authorize
38
+ access_token_url: http://localhost:8080/api/auth/oauth2/authorization_code/token
39
+ client_id: client_id_1
40
+ client_secret: client_secret_1
41
+ client_secret_method: client_credentials_post
42
+ scope: read write
43
+ state: 807061d5f0be
44
+ pkce: false
45
+ }
46
+
34
47
vars:pre-request {
35
48
departingDate: 2020-01-01
36
49
~returningDate: 2020-01-02
Original file line number Diff line number Diff line change 32
32
"username" : " john" ,
33
33
"password" : " secret"
34
34
},
35
+ "oauth2" : {
36
+ "grantType" : " authorization_code" ,
37
+ "clientId" : " client_id_1" ,
38
+ "clientSecret" : " client_secret_1" ,
39
+ "clientSecretMethod" : " client_credentials_post" ,
40
+ "authorizationUrl" : " http://localhost:8080/api/auth/oauth2/authorization_code/authorize" ,
41
+ "callbackUrl" : " http://localhost:8080/api/auth/oauth2/authorization_code/callback" ,
42
+ "accessTokenUrl" : " http://localhost:8080/api/auth/oauth2/authorization_code/token" ,
43
+ "scope" : " read write" ,
44
+ "state" : " 807061d5f0be" ,
45
+ "pkce" : false
46
+ },
35
47
"wsse" : {
36
48
"username" : " john" ,
37
49
"password" : " secret"
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ auth:oauth2 {
61
61
access_token_url: http://localhost:8080/api/auth/oauth2/authorization_code/token
62
62
client_id: client_id_1
63
63
client_secret: client_secret_1
64
+ client_secret_method: client_credentials_basic
64
65
scope: read write
65
66
state: 807061d5f0be
66
67
pkce: false
Original file line number Diff line number Diff line change 77
77
"grantType" : " authorization_code" ,
78
78
"clientId" : " client_id_1" ,
79
79
"clientSecret" : " client_secret_1" ,
80
+ "clientSecretMethod" : " client_credentials_basic" ,
80
81
"authorizationUrl" : " http://localhost:8080/api/auth/oauth2/authorization_code/authorize" ,
81
82
"callbackUrl" : " http://localhost:8080/api/auth/oauth2/authorization_code/callback" ,
82
83
"accessTokenUrl" : " http://localhost:8080/api/auth/oauth2/authorization_code/token" ,
You can’t perform that action at this time.
0 commit comments