Skip to content

Commit

Permalink
fix(dev): adjust port to request against keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoscode committed Nov 27, 2023
1 parent 6919b71 commit 4a3d317
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dev-assets/scripts/get_Token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
# ********************************************************************************/
#

curl --location 'http://localhost:$APPLICATION_PORT/realms/miw_test/protocol/openid-connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=miw_private_client' \
--data-urlencode 'client_secret=miw_private_client' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'username=catena-x' \
--data-urlencode 'password=password' \
| jq -r '.access_token'
curl --location "http://localhost:8080/realms/miw_test/protocol/openid-connect/token" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode "client_id=miw_private_client" \
--data-urlencode "client_secret=miw_private_client" \
--data-urlencode "grant_type=password" \
--data-urlencode "username=catena-x" \
--data-urlencode "password=password" \
| jq -r ".access_token"

0 comments on commit 4a3d317

Please sign in to comment.