okta / okta-powershell-cli

Powershell CLI for communicating with the Okta API
Other
15 stars 4 forks source link

Update templates to support the device flow #2

Closed CEB7MsCtGRwuXRleXqHIwtN4JhfbiV5rgirVv7c closed 1 year ago

CEB7MsCtGRwuXRleXqHIwtN4JhfbiV5rgirVv7c commented 1 year ago

Update templates to add support for the device authorization flow. This flow requires the user to invoke Invoke-OktaEstablishAccessToken and authorize the device via browser. Once the user successfully performs the device flow, the CLI obtains an access token which is attached in the authorization header on each request.