Skip to content

Instantly share code, notes, and snippets.

@MO-ska
Created December 1, 2023 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MO-ska/6f330c584d017578f5695745a729d654 to your computer and use it in GitHub Desktop.
Save MO-ska/6f330c584d017578f5695745a729d654 to your computer and use it in GitHub Desktop.
curl --location --request POST 'https://mci.opi.org.pl/auth/realms/OPI/protocol/openid-connect/token'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'client_id=polon2'
--data-urlencode 'grant_type=refresh_token'
--data-urlencode 'refresh_token=pobranyWcześniejOfflineToken'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment