You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The bug is failing to be able to connect using OIDC general connect setup. We've setup a config with the required fields and it does call our second device for authentication, however when returning to meshcentral, the JWT is put into a JSON.parse() function which errors out.
To Reproduce
Steps to reproduce the behavior:
Try to login usin Entrust OpenID Connect.
Expected behavior
Log into my account succesfully.
Screenshots
If applicable, add screenshots to help explain your problem.
I converted the Byte array to a string and printed it: below. But normally the bytecode is passed directly to JSON.parse() function.
eyJ4NXQiOiI4ajJuMmMzcmpvM0pzanY3ZkJNckVsbUNlSFkiLCJraWQiOiI3MjE1MTQ5MCIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiJkc2VsZW5Ac3lzdGVtZWMubmwiLCJhdWQiOiJkYTQ5NTEzYi04YjBlLTRlZmEtYWE0Yi0zMzY3YWQ2ZGM2ZmMiLCJuYW1lIjoiRGFhbiBTZWxlbiIsImlzcyI6Imh0dHBzOi8vc2lzbmwuZGUudHJ1c3RlZGF1dGguY29tL2FwaS9vaWRjIiwiZ2l2ZW5fbmFtZSI6IkRhYW4iLCJmYW1pb... rest of jwt
Aug 28 13:41:02 thoth node[441762]: ERR: SyntaxError: Unexpected token e in JSON at position 0
Aug 28 13:41:02 thoth node[441762]: at JSON.parse (<anonymous>)
Aug 28 13:41:02 thoth node[441762]: at Client.userinfo (/opt/meshcentral/app/node_modules/openid-client/lib/client.js:1292:16)
Aug 28 13:41:02 thoth node[441762]: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Aug 28 13:41:02 thoth node[441762]: at async /opt/meshcentral/app/node_modules/openid-client/lib/passport_strategy.js:182:24
Server Software (please complete the following information):
OS: Debian
Virtualization: ESXi
Client Device (please complete the following information):
Device: Laptop
OS: WIndows
Network: Meshcentral over WAN
Browser: Brave
Additional context
Add any other context about the problem here.
Describe the bug
The bug is failing to be able to connect using OIDC general connect setup. We've setup a config with the required fields and it does call our second device for authentication, however when returning to meshcentral, the JWT is put into a JSON.parse() function which errors out.
To Reproduce
Steps to reproduce the behavior:
Try to login usin Entrust OpenID Connect.
Expected behavior
Log into my account succesfully.
Screenshots
If applicable, add screenshots to help explain your problem.
I converted the Byte array to a string and printed it: below. But normally the bytecode is passed directly to JSON.parse() function.
Server Software (please complete the following information):
Client Device (please complete the following information):
Additional context
Add any other context about the problem here.
Your config.json file relevant info:
The text was updated successfully, but these errors were encountered: