I want my users to be able to execute some API calls from scripts, outside browsers, and I’m not sure about how to do it. This is the workflow I’d expect:
- A user logs into the web app.
- A token management window is opened, and they create a token there.
- They copy the token and they use it from the command line.
I think that (2) can be done with this instructions: Auth0 React SDK Quickstarts: Call an API . (A) Am I right?
Then, (B) should I store the tokens in my DB?
Finaly, (C) how should the tokens be refreshed?