Why is RHDH trying to go to github, when I'm using gitlab for authentication?
Issue
RHDH is trying to go to github, when it is using gitlab for authentication:
{"actor":{"actorId":"plugin:auth","hostname":"localhost","ip":"::1","userAgent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"},"eventName":"CatalogEntityFetchByName","isAuditLog":true,"level":"info","message":"Fetch attempt for entity with entityRef user:default/35 initiated by plugin:auth","meta":{"entityRef":"user:default/35"},"plugin":"catalog","request":{"body":{},"method":"GET","params":{"kind":"User","name":"35","namespace":"default"},"query":{},"url":"/api/catalog/entities/by-name/User/default/35"},"service":"backstage","stage":"initiation","status":"succeeded","timestamp":"2024-09-27 15:19:21"}
{"actor":{"actorId":"plugin:auth","hostname":"localhost","ip":"::1","userAgent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"},"errors":[{"message":"No entity named '35' found, with kind 'User' in namespace 'default'","name":"NotFoundError","stack":"NotFoundError: No entity named '35' found, with kind 'User' in namespace 'default'\n at /opt/app-root/src/node_modules/@backstage/plugin-catalog-backend/dist/cjs/CatalogBuilder-WfXI1o7H.cjs.js:5887:17\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"}],"eventName":"CatalogEntityFetchByName","isAuditLog":true,"level":"error","message":"Fetch attempt for entity with entityRef user:default/35 by plugin:auth failed","meta":{"entityRef":"user:default/35"},"plugin":"catalog","request":{"body":{},"method":"GET","params":{"kind":"User","name":"35","namespace":"default"},"query":{},"url":"/api/catalog/entities/by-name/User/default/35"},"service":"backstage","stage":"completion","status":"failed","timestamp":"2024-09-27 15:19:21"}
{"level":"info","message":"::1 - - [27/Sep/2024:15:19:21 +0000] \"GET /api/catalog/entities/by-name/User/default/35 HTTP/1.1\" 404 510 \"-\" \"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)\"","service":"rootHttpRouter","timestamp":"2024-09-27 15:19:21","type":"incomingRequest"}
Environment
- Red Hat Developer Hub
- 1.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.