-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Labels
Description
When simulating auth developers need to generate a fake auth token to use in their code. This is not a trivial task.
We should help developers by creating a command that can generate tokens to be used for testing purposes.
dotnet user-jwts is a command line tool that can generate tokens for testing.
Example:
dotnet user-jwts create --audience 5fd6c579-77d2-4ad4-9064-b8b2297a6fb5 --scope "Posts.Read" --issuer "https://login.microsoftonline.com/bf805346-44e7-43f7-8e60-c5e24aefe49c/v2.0"
We should think about integrating this tool in Dev Proxy for convenience.
waldekmastykarz