How to use the OAuth 2.0 Device Authorization Flow to authenticate to the WireMock Cloud API
{client_id}
: The OAuth client (in Auth0, the Application id) provided by WireMock Cloud
validdiscover_urls
device_authorization
expires_in
and interval
are values in seconds.
{device_authorization.verification_uri_complete}
should be opened automatically in
the user’s browser.
{device_authorization.interval}
seconds until {device_authorization.expires_in}
seconds have passed you poll
as so:
{device_authorization.interval}
unless
{device_authorization.expires_in}
has passed”
or
token_response
Authorization: {token_response.token_type} {token_response.access_token}
token_response