Facing issue while trigering curl command for any service ,while running services with security using manual commands #250
Replies: 3 comments 3 replies
-
See the following doc links You can also use edgex-compose |
Beta Was this translation helpful? Give feedback.
-
@divyashree123456 Have you solved this issue? I am also facing the same. |
Beta Was this translation helpful? Give feedback.
-
Hi @sanketpatil5435 ya it got resolved by creating a JWT authentication tokens for services . |
Beta Was this translation helpful? Give feedback.
-
when all the services are up and running in security mode using manual commands
Im facing "level=WARN ts=2024-02-08T18:12:59.78741Z app=core-metadata source=auth_middleware.go:67 msg="Request to '/api/v3/version' UNAUTHORIZED" in core metadata when i m triggering curl command
root@NB2-SOC-BSP-14DEC23-1:~/edgex-go-napa/cmd/security-bootstrapper# curl "http://localhost:59881/api/v3/version" {"message":"Unauthorized"}
I have seen document related to authentication on edgex foundry ,but still not getting where can i get JWT token which is used to parse in curl command.
please help me to resolve this issue.
thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions