UNPKG

insomnia-plugin-plus4u-oidc

Version:

Insomnia plugin that provides easy authentication against oidc.plus4u.net .

92 lines (59 loc) 3.1 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.6.0] - Added support for Azure OIDC in `uuEePlus4uOidcToken` template tag. - Refactored `login` method in `plugin.js` to simplify architecture by splitting logic into specialized `_loginToAzure` and `_loginToUuOidc` handlers. - Extracted shared HTTP token request logic into a private `_performTokenRequest` method. - Standardized standard uuOIDC token requests to use `application/x-www-form-urlencoded` for improved OIDC compatibility. ## [0.5.0] - Added support for switching between Production and Development environments in `uuPersonPlus4uOidcToken`. ## [0.4.0] - Added uuPersonCustomOidcToken which allows custom OIDC provider configuration. - Small improvements - Improved user-facing error/status messages from template tags (now returns formatted `-- token ... --` strings instead of empty output). - Made interactive login flow more robust (better error handling for OIDC discovery / token exchange). - Adjusted token caching behavior to avoid caching near-expiry tokens. - Improved behavior when token retrieval is already in progress (returns a clear status string). - Updated cache key generation to avoid embedding the raw client secret (uses a short hash instead). - Changed token endpoint requests to use `application/x-www-form-urlencoded` where applicable for better OIDC compatibility. ## [0.3.0] - 2025-01-07 - possibility to disable certficate chain validity ## [0.2.7] - 2021-07-20 - replaced library "url" for "url-parse" ## [0.2.6] - 2021-05-03 ### Changed - Added definition of scope in GUI ## [0.2.5] - 2021-05-03 ### Changed - Fixed cache key (added scope, oidc server and workspace id) - Added possibility to define custom scope ## [0.2.4] - 2021-04-19 ### Changed - Fixed loading of token for *uuPersonPlus4uOidcToken* - sometimes token was not loaded in time ## [0.2.3] - 2020-09-05 ### Changed - Fixed default configuration for the *uuEePlus4uOidcToken* - Fixed login trough *uuEePlus4uOidcToken* ## [0.2.2] - 2020-06-04 ### Changed - Replaced library Got with node-fetch. Got had problems on some systems ## [0.2.1] - 2020-04-10 ### Changed - Updated versions of libraries ## [0.2.0] - 2020-04-09 ### Changed - Changed default OIDC provider. Current is OIDCg02. - Updated versions of underlayer libraries ## [0.1.3] - 2019-01-25 ### Changed - Updated dependency on *oidc-plus4u-vault* ## [0.1.2] - 2019-01-25 ### Added - Integrated with *oidc-plus4u-vault*. It enables storing credentials for uuEE on local machine without keeping credentials in insomnia export - New tag *uuEePlus4uOidcToken*. It enables authentication for uuEE (credentials asked once during insomnia running, or loaded from *oidc-plus4u-vault*) - Enhanced original tag *uuPersonPlus4uOidcToken*. It supports configuring different OIDC. ### Changed ### Removed ## 0.1.1 - initial public release