Skip to content

Commit

Permalink
updating authserver url
Browse files Browse the repository at this point in the history
  • Loading branch information
RudiThoeni committed Dec 13, 2022
1 parent dfdeb67 commit 8079c3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vms/token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CLIENT_ID=odh-generic-client

#PAYLOAD="grant_type=password&username=$API_USER&password=$API_PASS&client_id=$CLIENTID"

curl -X POST -L "https://auth.opendatahub.bz.it/auth/realms/noi/protocol/openid-connect/token" \
curl -X POST -L "https://auth.opendatahub.com/auth/realms/noi/protocol/openid-connect/token" \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=password' \
--data-urlencode "username=${API_USER}" \
Expand Down
2 changes: 1 addition & 1 deletion vms/token_refresh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CLIENT_ID=odh-generic-client
#CLIENT_ID=odh-mobility-v2

#PAYLOAD="grant_type=password&username=$API_USER&password=$API_PASS&client_id=$CLIENTID"
curl -X POST -L "https://auth.opendatahub.bz.it/auth/realms/noi/protocol/openid-connect/token" \
curl -X POST -L "https://auth.opendatahub.com/auth/realms/noi/protocol/openid-connect/token" \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=refresh_token' \
--data-urlencode "refresh_token=${TOKEN_REF}" \
Expand Down

0 comments on commit 8079c3f

Please sign in to comment.