Authorize user before running workflow - front office bot

I need to authorize a user when user assigns workflow to a front office bot. Is there any inbuilt activity/ capability that can be used.

How about something like this? Once the user enters the Credentials, you can validate those from wherever you have them stored (Windows Credentials, Database, Excel, Active Directory)