1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/edgegallery-user-mgmt

 / Детали:

Pls help with procedure to obtain JWT to call LCM APIs

Предстоит сделать
Владелец
Создано  
03.12.2024

Hello
I'm working with a local instance of EdgeGallery for an academic project (Javeriana University in Colombia) for our project we will to be validate if an app instantiated on the MEC and if it is not then instantiate it via APIs calling this API:
Resource URI: /lcmcontroller/v2/tenants/{tenantId}/app_instance/{appInstanceId}/instantiate
Method: POST

Before being able to consume the above API we are trying to get the JWT, calling this Resource URI: /mec-usermgmt/v1/accesstoken
Method: POST on this IP https://{PORTAL_IP}:30095

However when we use this endpoint including in the body request the userFlag and password as the doc says
{"userFlag":"tenant1",
"password":"tenant1#passwd"}
We see a lot of redirects in postman but the end result is html page with this message
We're sorry but my-pro doesn't work properly without JavaScript enabled. Please enable it to continue.

And no JWT code is delivered. Do you happen to have some sort detailed procedure on how to get this JWT so we could use the lcm API in ourlab ?
Thanks
Marko Estacio

Комментарий (0)

GitLife Service Account Задача создана

Вход Перед тем как оставить комментарий

Статус
Ответственный
Контрольная точка
Pull Requests
Связанные запросы на слияние могут быть закрыты после их объединения
Ветки
Дата начала   -   Крайний срок
-
Закрепить/Открепить
Приоритет
Участники(1)
1
https://api.gitlife.ru/oschina-mirror/edgegallery-user-mgmt.git
git@api.gitlife.ru:oschina-mirror/edgegallery-user-mgmt.git
oschina-mirror
edgegallery-user-mgmt
edgegallery-user-mgmt