Hello,
I am writing a command line utility to interact with an API secured using Auth0. The existing open source GUI clients launch a web browser window to display and handle the login flow using the standard Auth0 login page. I would very much like to handle the login in completely programmatic way. Is this possible?
I am not deeply familiar with Oauth and authentication standards so here is a working example of logging in using the browser to authenticate and finally obtain an id_token that I’m able to use to access my target API.
I’ve tried using the auth0-python library’s auth0.v3.authentication Social login function, but it is looking for an access_token which I don’t think I have?
Is it possible to login programmatically with username and password to the Auth0 login provider? If not, is there a way of obtaining a reusable token that could be used non-interactively?
Many thanks!