-
Notifications
You must be signed in to change notification settings - Fork 133
Description
Contact Details
No response
What is your question?
When I enable the OIDC protocol in the tool, I get the following error:
"message": "401 Unauthorized: The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required."
This seems to be related to the timezone of the Docker container, which is currently set to TZ=Asia/Shanghai. When I change all containers to use America/Sao_Paulo, the oneterm-api container can no longer connect to the acl-api.
Receive the error:
2025-06-23 13:13:41.839 fatal get resource type failed {"error": "未认证"}
Available clients: redis-cli, mysql/mariadb, psql, mongo/mongosh
2025-06-23 13:13:47.923 error github.com/veops/oneterm/internal/acl.GetResourceTypes failed {"url": "http://acl-api:5000/api/v1/acl/resource_types?app_id=oneterm&page_size=100", "req": "null", "resp": "{\n "message": "\u672a\u8ba4\u8bc1"\n}"}
I need to fix the timezone of the containers inside the Docker Compose setup so that the token generated by my OIDC method is valid for the application.
Version
newest