Home > Forum > General > "xxxx - Registered App" user name

"xxxx - Registered App" user name
0

Hi,

after creating/registering an API application, a user is automatically created. For instance, if the API app is named "something", the created user is named "something - Registered App".
This user needs access rigts for the app/process it need access, and that's clear.
But, api actions are also performed by that user, and this name is visible (for example - if we start the workflow over API, workflow instance is started by "something - Registered App").
So, how can I change the user name from ""something - Registered App" to anyfing else, like just "something" ?
I don't want my users to see "something - Registered App", they won't understand who or what started the workflow... :-(

MVP

Hi Rafał,

there's no way to change this. Except from overwriting the value in the COS whenever the user synchronization has been executed.

You could check out whether switching from "App context" to "User context" would be feasible. I haven't used it yet.
https://developer.webcon.com/docs/api-registration-and-authentication#user-context-configuration

If this doesn't work, because another system triggers the workflow initiation you could use a special path with an own form type.
I would use this path to create a new workflow instance using an action and overwrite the user. The workflow started by the API would then be deleted automatically with an action.
The second form type wouldn't cause missing numbers in the instance numbering.

Best regards,
Daniel

In reply to: Daniel Krüger (Cosmo Consult)

Hi Rafał,

there's no way to change this. Except from overwriting the value in the COS whenever the user synchronization has been executed.

You could check out whether switching from "App context" to "User context" would be feasible. I haven't used it yet.
https://developer.webcon.com/docs/api-registration-and-authentication#user-context-configuration

If this doesn't work, because another system triggers the workflow initiation you could use a special path with an own form type.
I would use this path to create a new workflow instance using an action and overwrite the user. The workflow started by the API would then be deleted automatically with an action.
The second form type wouldn't cause missing numbers in the instance numbering.

Best regards,
Daniel

Thanks Daniel, I'll overrite the name in COS after each synchronization then. This will solve the problem.

MVP
In reply to: Rafał Kowalewski

Thanks Daniel, I'll overrite the name in COS after each synchronization then. This will solve the problem.

Have you checked User Context API instead of Application API?

User Context API authorizes as specific user in the WEBCON system, which would indicate, that it will use name of the person which have been authenticated.

https://developer.webcon.com/docs/registration-and-authentiaction/

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.