Skip to content

Instantly share code, notes, and snippets.

@voronenko-p
Created March 29, 2020 11:21
Show Gist options
  • Save voronenko-p/e3f453f149ea5ba21dab40be1b5b17ee to your computer and use it in GitHub Desktop.
Save voronenko-p/e3f453f149ea5ba21dab40be1b5b17ee to your computer and use it in GitHub Desktop.
#!/bin/bash
COMPANYNAME=voronenko
CONSUMERNAME=auth0voronenko
curl -i -X POST http://localhost:8001/consumers/${CONSUMERNAME}/jwt \
-F "algorithm=RS256" \
-F "rsa_public_key=@./${COMPANYNAME}.pub" \
-F "key=https://${COMPANYNAME}.auth0.com/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment