HI,
We have application in Javascript and backand with JMIX. How can we use REST API with users definded in JMIX backend? How get we token for user defined in JMIX and user REST API method?
Thx
HI,
We have application in Javascript and backand with JMIX. How can we use REST API with users definded in JMIX backend? How get we token for user defined in JMIX and user REST API method?
Thx
Hello,
We have a sample JMIX + React application.
Regards,
Nikita
Thank You. This example is a right one.
Hello,
on more question. How can I logout? What is a URL for this action?
Thx
Hello,
You can use standard logout - http://localhost:8080/logout
But in the future we will support logout for auth server:
Regards,
Nikita
Hi @shchienko ,
We are facing the issue, that we are unable to logout using REST API. we are getting the following error:
We tried both logout endpoints:
http://localhost:8080/connect/logout
Both the Logout url is not working. Is there any workaround available for now?
Hi @shchienko ,
I am using the JMIX Version: 2.3.3, I have attached the sample Application for your reference.
And I am not getting any error/warning in the console log.
Thanks.
sample-app.zip (133.7 KB)