Overview
This notice is for M-Files Customers or partners who try to build Custom Web UI application to connect to the vault. If your vault is created using M-Files manage and it is utilizing M-Files Login Service for SSO, your custom web application cannot use M-Files Login Service for authentication.
Cause and Reason
M-Files Login Service uses the OpenID protocol for authentication. When a customer Web UI application is developed, it might need to facilitate users to login using their own credentials. The authentication code flow involves a redirect URI. This redirect URI needs to be configured at the M-Files Login Service side which is not possible. M-Files Login Service cannot facilitate adding customer's own redirect URIs.
Alternate Solutions
Create windows based applications instead of web based applications. Windows based applications can redirect to http://localhost, which is like a dummy redirect URIs which is allowed by M-Files Login Service.
Alternatively, for a web application, you can implement your own OAuth service, for example via your own application in EntraID. You can see more details on setting up OAuth for a vault here.
