fix-error

patch-12
Dhiyaneshwaran 2024-10-18 17:17:35 +05:30 committed by GitHub
parent eebb55cd46
commit 3b93568d88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -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:
- |