Open ftunholm opened 1 year ago
Hi @ftunholm,
I'm afraid I don't understand your point. Can you describe the goal a little bit more?
A service user is a backend authentication without any user interference.
Currently, an SDK uses the logged in user to run the API requests by using the Cookies in the InforOS
However is some cases (Especially if we build a standalone SDK outside of InforOS/M3), then you're not able to authenticate. In this scenario the SDK should either prompt a login page towards InforOS, or rather use an .ionapi API key that is assigned to a specific service user.
For M3 CE it’s not supported to run any authentication outside of Infor OS. For on prem I don’t know if that would be supported, I don’t think so and you need a user with access to authenticate. To have a stand alone application, running outside of Infor OS,that has some API key to authenticate, that is just not an option as you would be exposing that way of authenticating to the client which means anyone that can potentially access it. Unless this is specifically a scenario for a mobile device for which you need to grant access etc and then get a token.
But that is not the same as saying that you can have a “service account” and that would only potentially work for ION APIs.
Hi,
Is it possible to execute M3 APIs as a service user i.e. provide for example an backend service ion-auth file to be used for authentication?
Best regards, Fredrik