An open API service indexing awesome lists of open source software.

https://github.com/anthonyg-1/psjwtmicroservices-azure

Proof-of-concept Azure functions written in PowerShell that demonstrate creation and validation of a JSON Web Token via the PSJsonWebToken PowerShell module.
https://github.com/anthonyg-1/psjwtmicroservices-azure

azure-functions jwk jwt jwt-authentication openid-connect powershell

Last synced: 8 months ago
JSON representation

Proof-of-concept Azure functions written in PowerShell that demonstrate creation and validation of a JSON Web Token via the PSJsonWebToken PowerShell module.

Awesome Lists containing this project

README

          

# PSJwtMicroservices-azure
Proof-of-concept Azure functions written in PowerShell that demonstrate creation and validation of JSON Web Tokens as well as JSON Web Keys via the PSJsonWebToken PowerShell module.

## Requirements
An Azure function app and the PSJsonWebToken PowerShell module.

## Description
The three PowerShell scripts in this repository represent three different Azure functions. Brief explanation of each below.

### getjwt
Takes an API key and if valid, returns a JSON Web Token. The API key, private key to sign the JWT and claims for the token should be in Azure Key Vault.

### validatejwt
Takes a JWT and validates it against a JWK set URI found in the configuration settings for the Azure function app.

### jwkaggregationproxy
Looks to the configuration settings for a JWK set URI and adds our own JWK to this collection. This is potentially useful in the case where a service provider can only validate JSON Web Tokens against a single JSON Web Key set URI.