IBM M13 - Can't pass the sdutil authentication
Hi, I'm trying to pass through the sdutil autentication but I'm having problems. I'm using the file config.yaml like this:
seistore:
service: '{"ibm": {"ibmEnv":{"url": "https://nginx-ibm/osdu-seismic/api/v3", "appkey": ""}}}'
url: 'https://nginx-ibm/osdu-seismic/api/v3'
cloud_provider: 'ibm'
key: ''
env: 'ibmEnv'
auth-mode: 'JWT Token'
ssl_verify: False
APPKEY: ''
APPKEY_NAME: ''
auth_provider:
ibm: '{"provider": "ibm",
"authorize_url": "https://keycloak-url/auth/realms/OSDU/protocol/openid-connect/auth",
"authorize_params": {"response_type": "code", "redirect_uri": "http://localhost:8080/auth/callback"},
"access_token_url": "https://keycloak-url/auth/realms/OSDU/protocol/openid-connect/token",
"access_token_params": {"grant_type": "authorization_code", "redirect_uri": "http://localhost:8080/auth/callback"},
"refresh_token_url": "https://keycloak-url/auth/realms/OSDU/protocol/openid-connect/token",
"refresh_token_params": {"grant_type": "refresh_token"},
"open_id_url": "https://keycloak-url/auth/realms/OSDU/.well-known/uma2-configuration",
"scope": "openid",
"redirect_url": "http://localhost:8080/auth/callback"}'
ibm:
empty: 'none'
The values for {{CLIENT_ID}} and {{CLIENT_SECRET}} were provided by Samiullah Then in the cmd I type:
set OAUTH2_CLIENT_ID=`**Value get from Samiullah**`
set OAUTH2_CLIENT_SECRET=`**Value get from Samiullah**`
set OAUTH2_CLIENT_REDIRECT_URL=`**Value get from Samiullah**`
set COS_URL=`**Value get from Samiullah**`
set COS_ACCESS_KEY=`**Value get from Samiullah**`
set COS_SECRET_KEY=`**Value get from Samiullah**`
Then I type:
(env) C:\(...)\seismic-store-sdutil>python sdutil config init
[1] ibm
Select the cloud provider: 1
Insert the ibm (ibmEnv) application key:
sdutil successfully configured to use ibm (ibmEnv)
But then:
(env) C:\(...)\seismic-store-sdutil>python sdutil auth login
HTTPSConnectionPool(host='keycloak-url', port=443): Max retries exceeded with url: /auth/realms/OSDU/.well-known/uma2-configuration (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001E3E14CC790>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
Please @dsouzawalter, someone from your team can help me with this?
Regards,