Cannot login into EdgeX UI using the id_token #179
-
Hi Team, We have installed the EdgeX 3.0 on K3s with Nginx by following the guidelines from here and setting the secure store as true. Now on the EdgeX UI part we are unable to login by passing the same id token which got generated earlier. sample token: decoded token: {
"aud": "edgex",
"exp": 1695223406,
"iat": 1695216266,
"iss": "http://edgex-vault:8200/v1/identity/oidc",
"name": "edgexuser",
"namespace": "root",
"sub": "e7335090-c2a1-e28a-c6a0-a94baebd8783"
} We also tried generating the certificates using our own DNS name and exposing the EdgeX UI on ingress but that didn't work as browser is asking for SSL certificates. Kindly looking out for an help here on how we can solve this issue of EdgeX UI not accepting the id token Note: we have used the Minnesota release |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Was able to reproduce this. I think the token is fine. It's looking like something in the backend webserver of the UI. This is showing up in the edgex-ui container log
|
Beta Was this translation helpful? Give feedback.
-
edgex-ui is broken in the Helm deployment in secure mode. Non-secure mode seems to be OK. I have filed an issue with explanation and root cause. |
Beta Was this translation helpful? Give feedback.
-
Did this work before on the Helm deployment in secure mode? I am thinking not. |
Beta Was this translation helpful? Give feedback.
-
@mohammedimrankasab There are now some PR's in flight to fix this in the 3.1 stabilization release. |
Beta Was this translation helpful? Give feedback.
edgex-ui is broken in the Helm deployment in secure mode. Non-secure mode seems to be OK.
I have filed an issue with explanation and root cause.