fix-error
parent
eebb55cd46
commit
3b93568d88
|
@ -40,7 +40,7 @@ variables:
|
||||||
password: "{{password}}"
|
password: "{{password}}"
|
||||||
realm: "master"
|
realm: "master"
|
||||||
code_verifier: "7BhCLfrzYxLzq3XzrfiA8TplZBDciJ0RZepiiDujJKwOaMDzMZWcqGvrCfYH6s735tzxteIUH1vWLP1D2xXm88O9XFEnxcx2"
|
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
|
# we can also hardcode code_challenge to wMYxCiAZ5DmiZvqD0h5G_9QwE7IDDFRojvORiaqiTto
|
||||||
|
|
||||||
http:
|
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}}&
|
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:
|
extractors:
|
||||||
- type: json
|
- type: json
|
||||||
name: access_token
|
part: body
|
||||||
internal: true
|
name: access_token
|
||||||
json:
|
json:
|
||||||
- '.access_token'
|
- '.access_token'
|
||||||
part: body
|
internal: true
|
||||||
|
|
||||||
- raw:
|
- raw:
|
||||||
- |
|
- |
|
||||||
|
|
Loading…
Reference in New Issue