Dative-GPI / foundation-extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

500: Gateway translation

peyronth opened this issue · comments

image

FULL LOG

`System.ArgumentException: IDX12709: CanReadToken() returned false. JWT is not well formed: '[PII of type 'System.String' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'.
The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ReadJwtToken(String token)
at Foundation.Template.Gateway.Middlewares.JWTAuthenticationMiddleware.InvokeAsync(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

HEADERS

Accept: application/json, text/plain, /
Host: extension.localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: null
Authorization: Bearer null
Cache-Control: no-cache
Pragma: no-cache
Referer: https://extension.localhost/organisations/41ea29a1-bbfe-4f4a-86b3-425963471053/controls/actiongroups/fdf6273f-b405-4122-ad43-eb624254bb94
Priority: u=1, i
Sec-Ch-Ua: "Chromium";v="124", "Google Chrome";v="124", "Not-A.Brand";v="99"
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: "Linux"
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
X-Forwarded-For: 172.21.0.1
X-Forwarded-Host: extension.localhost
X-Forwarded-Port: 443
X-Forwarded-Server: aba2edb825aa
X-Real-Ip: 172.21.0.1
X-Original-Proto: http`

Working after refreshing page :
image