Closed remydewa closed 1 year ago
Hey @remydewa,
There are a few examples of how token is exchanged for credentials in tests here
Looks like you are just missing the /login
in front of auth/token
, -> auth/token/login
Hey @codemation
Thanks for your answer. It's working well! My bad. Sorry.
Good evening
Rémy
Hello,
I want to know how can I have a python tools which give me access to my authenticated api without creating a service account.
Actually, what I'm trying to do:
The goal below is to get a token to access to my other api but it doesn't works:
{'detail': [{'loc': ['body', 'username'], 'msg': 'field required', 'type': 'value_error.missing'}, {'loc': ['body', 'password'], 'msg': 'field required', 'type': 'value_error.missing'}]}
What Am it doing wrong?
Thanks for your help
Rémy