Open mraible opened 3 years ago
This would be nice so we don't have to tell people to use oidcdebugger.com.
I've been thinking about this on and off for a bit.
Client credentials flows should be easy to do like this.
Browser-based flows get tricky because existing redirects would be wrong.
But for most of our blog posts (and i think typical usage of okta token
) you would be testing a resource server, and a client creds flow might be all you need, so we might be able to do something like just okta token
then:
okta-cli-token
) create it if it doesn't existThat might be a bit naive though, we should pick @aaronpk's brain about it too
We use the OIDC debugger in a lot of tutorials and often enable implicit flow to make things faster.
What if we could get an access token from the CLI?!
Equally as good: generate one from the dashboard.