Logging in via an API


Using Python is there any way of logging in as a user with an API rather than physically typing in your username and password? i.e. I want an API that lets me provide {username, password, any other details} and gives me back an access token

Hi @p.christodoulou2,

You can use the resource owner password grant get a token directly with a API call containing a username/password.

If you are setting up a machine to machine connection without a user then you should use the client credentials grant.

Hope this helps!



A post was split to a new topic: Would resource owner password API sign in work with passwordless?