Publish REST API with sign in with token

0
Hey, I what to Publish an REST api with login for and Windows application. Basic login is not what I need. What I whant: User login to a REST url with his username and password and Get back a token (Bearer). For the other endpoints the Windows App use the token to get the data. What is the best way to make this work? Do I have to build it all myself, or can I use an app or function in Mendix. And if I have to build it myself, are there examples?
asked
2 answers
0

Hi Wilm, are you wanting your Mendix app to act as an OAuth provider for other APIs? If so, you would have to build that if Mendix is to return the Bearer token.

answered
0

Yes. I now try to build it in a microflow, but how do i compare an password witch the user pass through JSON with the system.User/Password?
This is what I get in a Exclusive Split

answered