fix-error
parent
eebb55cd46
commit
3b93568d88
|
@ -40,7 +40,7 @@ variables:
|
|||
password: "{{password}}"
|
||||
realm: "master"
|
||||
code_verifier: "7BhCLfrzYxLzq3XzrfiA8TplZBDciJ0RZepiiDujJKwOaMDzMZWcqGvrCfYH6s735tzxteIUH1vWLP1D2xXm88O9XFEnxcx2"
|
||||
code_challenge: "{{ trim_right(replace(replace(base64(hex_decode(sha256(code_verifier))),'/','_'),'+','-'),'=') }}"
|
||||
code_challenge: "{{ trim_right(replace(replace(base64(hex_decode(sha256(code_verifier))),'/','_'),'+','-'),'=') }}"
|
||||
# we can also hardcode code_challenge to wMYxCiAZ5DmiZvqD0h5G_9QwE7IDDFRojvORiaqiTto
|
||||
|
||||
http:
|
||||
|
@ -95,12 +95,12 @@ http:
|
|||
code={{codevalue}}&grant_type=authorization_code&client_id=security-admin-console&redirect_uri={{Scheme}}%3A%2F%2F{{Hostname}}%2Fadmin%2F{{realm}}%2Fconsole%2F&code_verifier={{code_verifier}}&
|
||||
|
||||
extractors:
|
||||
- type: json
|
||||
name: access_token
|
||||
internal: true
|
||||
json:
|
||||
- '.access_token'
|
||||
part: body
|
||||
- type: json
|
||||
part: body
|
||||
name: access_token
|
||||
json:
|
||||
- '.access_token'
|
||||
internal: true
|
||||
|
||||
- raw:
|
||||
- |
|
||||
|
|
Loading…
Reference in New Issue