From: Sander A. <sa....@fz...> - 2023-04-26 09:55:19
|
Hi Krzysztof, we have got a OIDC client with has some trouble in the integration. The used software eduMEET adds an "Accept: application/json" header to communication with jwk endpoint. Testing it with curl commands it seems that unity does not support this: with Accept-Header: % curl -i -H "Accept: application/json" 'https://login-dev.helmholtz.de/oauth2/jwk' HTTP/1.1 400 Bad Request Date: Tue, 25 Apr 2023 19:02:21 GMT Strict-Transport-Security: max-age=31536000; includeSubDomains X-Frame-Options: DENY Content-Type: application/json Content-Length: 91 {"error_description":"Unexpected server error; Server engine error","error":"server_error"} without Accept-Header: % curl -i 'https://login-dev.helmholtz.de/oauth2/jwk' HTTP/1.1 200 OK Date: Tue, 25 Apr 2023 19:02:43 GMT Strict-Transport-Security: max-age=31536000; includeSubDomains X-Frame-Options: DENY Content-Type: application/jwk-set+json;charset=UTF-8 Vary: Accept-Encoding Content-Length: 396 {"keys":[{"kty":"RSA","e":"AQAB","use":"sig","n":"ni4t9tzJ8rjkw_FvIGdDI _iiZC- w2JthaNHcvN1B8tzGm2wdhp2f5ujlvI68Q2NMrzfF2aeS02nhs9PJ8FoBT53bRUJ9h5vFzQ 4X0cRT8s1A4Ya_Ejs2xbJbBitvs4GwtNId8PnJGqI_BpAZQ26IMXXWpaL46N4vnnCb2p8yb uL- HOhAjNQS2gOnQ5djxow4yjkYPgF3YaoQ8AI8CrE3KuOJInTdGl_E4pauV5Zc_My9ZiKPhmC u4xTNuHrIJAuUWZl8xnHLoANJAV5iMVVrm9xEVC5P6JOjuRxrLG37iV2YitCnUDwBY84bNI nZSKuQhVjc2qyfbguJ-HCD5U17fQ"}]} Is this intended by you and do you have any idea of a workaround to integrate the software? I didn't find something in the unity manual about this issue and it seems that the OIDC standard did not cover this in the token validation. Best regards, Sander -- Federated Systems and Data Juelich Supercomputing Centre phone: +49 2461 61 8847 fax: +49 2461 61 6656 email: sa....@fz... ----------------------------------------------------------------------- ----------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Stefan Müller Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Dr. Ir. Pieter Jansens, Prof. Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior ----------------------------------------------------------------------- ----------------------------------------------------------------------- |