How to setup OAuth for published web service

0
Hello Community ,   I have published a rest API, and it works great functionally. However - I now want to secure it with OAuth instead of the out of the box basic authentication method provided by Mendix. I am unable to find any documentation on how to set this up for published services. Any help would be appreciated.   Thanks! Ayesha
asked
1 answers
0

You can likely use the OIDC(Oauth2.0) module combined with custom authentication for your rest service to achieve this, passing in the bearer token as a header or parameter. Rather than configuring the OIDC module for signin, I believe you can leverage the configuration and authentication code it contains to authenticate a user. I would look into using the 'DecodeAndVerifyJWT' microflow in the OIDC module.

answered