BlueBrain Nexus Platform, migrated to: https://github.com/BlueBrain/nexus/discussions
{
"@context": [
"https://bluebrain.github.io/nexus/contexts/resource.json",
"https://bluebrain.github.io/nexus/contexts/iam.json",
"https://bluebrain.github.io/nexus/contexts/search.json"
],
"_total": 1,
"_results": [
{
"@id": "http://127.0.0.1:8080/v1/realms/keycloak",
"@type": "Realm",
"name": "Nexus Keycloak",
"openIdConfig": "http://127.0.0.1:8180/auth/realms/blue-brain-nexus/.well-known/openid-configuration",
"_label": "keycloak",
"_grantTypes": [
"password",
"clientCredentials",
"refreshToken",
"authorizationCode",
"implicit"
],
"_issuer": "http://127.0.0.1:8180/auth/realms/blue-brain-nexus",
"_authorizationEndpoint": "http://127.0.0.1:8180/auth/realms/blue-brain-nexus/protocol/openid-connect/auth",
"_tokenEndpoint": "http://127.0.0.1:8180/auth/realms/blue-brain-nexus/protocol/openid-connect/token",
"_userInfoEndpoint": "http://127.0.0.1:8180/auth/realms/blue-brain-nexus/protocol/openid-connect/userinfo",
"_revocationEndpoint": "http://127.0.0.1:8180/auth/realms/blue-brain-nexus/protocol/openid-connect/revoke",
"_endSessionEndpoint": "http://127.0.0.1:8180/auth/realms/blue-brain-nexus/protocol/openid-connect/logout",
"_rev": 1,
"_deprecated": false,
"_createdAt": "2021-01-13T13:51:05.704Z",
"_createdBy": "http://127.0.0.1:8080/v1/anonymous",
"_updatedAt": "2021-01-13T13:51:05.704Z",
"_updatedBy": "http://127.0.0.1:8080/v1/anonymous"
}
]
}
Hi, I am trying to register a realm in Nexus delta but got below error. Any idea what may be the issue?
curl -XPUT \
-H "Content-Type: application/json" \
"http://<NexusDeltaIP>:80/v1/realms/<realmName>" \
-d '{
"name":"<realmName>",
"openIdConfig":"http://<Keycloak IP>:8080/auth/realms/<realmName>/.well-known/openid-configuration",
"logo":"http://localhost:8080/logo.png"
}'
Error
{"@context":"https://bluebrain.github.io/nexus/contexts/error.json","@type":"UnsuccessfulOpenIdConfigResponse","reason":"Failed to retrieve the openid config document 'http://10.3.7.223:8080/auth/realms/vre/.well-known/openid-configuration'."}