PSAuthClient Versions Save

PowerShell OAuth2.0/OpenID Connect (OIDC) Client.

v1.1.1

1 month ago

Minor patch release

Changes are listed below.

Changes

  • Invoke-OAuth2AuthorizationEndpoint
    • Now honors 'state', 'nonce' and PKCE values if provided as customParameters. Previously, this could lead to duplicated parameters in the request URI. (Identified by sean-r-williams in issue #3)

v1.1.0

1 month ago

Minor patch release

Changes are listed below.

Changes

  • Invoke-OAuth2TokenEndpoint
    • Added 'customHeaders' parameter (as requested by JustinGrote in iss#2). This allows for providing of a hashtable of headers to include in the request, such as 'User-Agent', 'Origin' etc.

v1.0.2

4 months ago

Minor patch release

Changes are listed below.

Changes

  • Invoke-OAuth2TokenEndpoint
    • Updated parameter sets to allow for client authentication in refresh grants. (This is sometimes a requirement for refreshing tokens if PKCE has not been used in the code authorization grant.)
  • Invoke-OAuth2AuthorizationEndpoint
    • Fixed an issue in PSv5 where 'response_type' would be nullified in the initial execution due to System.Web assembly being loaded after (!) calling the httpUtility.urlEncode method.
    • Ensured that all URL query parameters are processed by calling the urlEncode method. (including customParameter keys and values)

v1.0.1

4 months ago

Initial release, see repository README.md.