{"repo":"alflokken/PSAuthClient","free":true,"listed":false,"github":"https://github.com/alflokken/PSAuthClient","clone":"git clone https://github.com/alflokken/PSAuthClient.git","description":"PowerShell OAuth2.0/OpenID Connect (OIDC) Client.","language":"PowerShell","stars":115,"topics":["authentication","authorization","oauth2","oidc","openidconnect","powershell"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"PSAuthClient PSAuthClient is a flexible PowerShell OAuth2.0/OpenID Connect (OIDC) Client. Support for a wide range of grants. Uses WebView2 to support modern web experiences where interaction is required. Includes useful tools for decoding tokens and validating JWT signatures. Table of Contents - Install - Quick Start - Documentation - Utilities included - OIDC and OAuth2.0 Grant Examples - Issues and Contributions Install Either install the module from PSGallery Install-Module PSAuthClient -Scope:CurrentUser or download and unzip to ‘$home\\Documents\\WindowsPowerShell\\Modules’. Quick Start Check out my blog post on getting started with PSAuthClient. Using OAuth2 with Spotify as the OAuth2.0 provider. Using OpenID Connect (OIDC) with Microsoft Graph as the OIDC provider. Documentation See links for function documentation, usage and examples. Function Description -------- ----------- Invoke-OAuth2AuthorizationEndpoint Launches an embedded WebView2 browser to perform the OAuth2.0/OIDC Authorization Code flow. Supports modern authentication features (SSO, Windows Hello, FIDO2). Invoke-OAuth2DeviceAuthorizationEndpoint Initiates the Device Code flow by retrieving a user and device verification code from the authorization server that can be used to request tokens from the token endpoint. Invoke-OAuth2TokenEndpoint Requests security tokens using various grant types: authorization code, device code, refresh token, client credentials, JWT assertions, or JWT Bearer (RFC 7523). Get-Oidc","default_branch":null,"files":null,"tree":[],"storefront":"/r/alflokken","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alflokken/PSAuthClient/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}