add shibboleth collection to environment automation
This commit is contained in:
@@ -5,7 +5,7 @@ info:
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{serverUri}}/idp/profile/oidc/token"
|
||||
url: "{{shibbolethServerUri}}/idp/profile/oidc/token"
|
||||
headers:
|
||||
- name: Content-Type
|
||||
value: application/x-www-form-urlencoded
|
||||
@@ -15,11 +15,11 @@ http:
|
||||
- name: grant_type
|
||||
value: authorization_code
|
||||
- name: redirect_uri
|
||||
value: "{{redirectUri}}"
|
||||
value: "{{clientRedirectUri}}"
|
||||
- name: scope
|
||||
value: openid profile email
|
||||
- name: code
|
||||
value: ""
|
||||
value: AAdzZWNyZXQxcKlGLY3zJzZp-SXBg9tSJp2n8PxhgB5nnYFr1f50GfD69sLo_OZ3t73WEPW2BKhY5sGh6A-dEmu7nX_PCk0QU7UwZEkFTQPu28BPyE11r-aqAZEO88CN0bTZB5nzx8ecAcQMvE8X74rHpmiWDf2YKdQVPlb9N7ON_ALKWx1XmVueinmHiwXFow1hnhZMxZK_Jy0DSmT9QN4pbfyDD2UkRZo4BOgyxqlYiDWWGF39DkVdwJfrduq5HM3yT3bUdR2zB-u25ol6NrOpfkoaM5-QKWexCfmFLx_huZah4vXY0RnvdzE8v5fpLCYVDUwv3gSXpsOuS4Ynf84Wz8Nr6bdaCo8hfHdCvNDtNPEBy7DTQ-2rb3Lgqq_piqj3N9WpBFIqqRQfwHBnKGGr07TXoaEi_fSROZ99VIJaPVJZNTdCNiiR9Sql_78KJr1tapx9eQD2UnkRPlzpBvQU6W4uX4YHqgd0i9sLEBOFv4BkGc9AwpB5ew
|
||||
description: Paste code obtained by manual flow in browser
|
||||
auth:
|
||||
type: basic
|
||||
@@ -31,7 +31,7 @@ runtime:
|
||||
- type: after-response
|
||||
code: |-
|
||||
var jsonData = res.getBody();
|
||||
bru.setEnvVar("accessToken", jsonData.access_token);
|
||||
bru.setVar("accessToken", jsonData.access_token);
|
||||
- type: tests
|
||||
code: |-
|
||||
test("Status code is 200", function () {
|
||||
|
||||
Reference in New Issue
Block a user