Repository navigation
Conversation
Record the shared services subdomain from the session token claims on New-IDSession and New-IDPlatformToken, and clear it on Close-IDSession. Add private helpers for companion modules: - ConvertFrom-JwtPayload decodes token claims - Resolve-RequestUrl syncs the module session with the IdentityCommand session, resolves the service URL by platform discovery on first use, and drops the module session once the IdentityCommand session closes
…stUrl - SessionConnectedHook runs after the module connects, retried on failure - IndependentSession skips sync with the IdentityCommand session - ServiceEndpoint / Resolve-ServiceUrl -Endpoint read a non-api discovery URL (CEM bootstrap)
A failed SessionVariable request no longer masks its error with a missing variable lookup, and an error response without a body reports the exception message instead of an empty one.
Invoke-WebRequest has no Accept parameter, so every request passing -Accept failed. The header is sent with the request, and the WebSession's own Accept header is restored afterwards so it does not carry into later requests.
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
A failed SessionConnectedHook cleared the module session StartTime, which the closed session check relies on, so the module kept sending requests after Close-IDSession. Clear the service URL instead, so the next request resolves it and runs the hook again.
New-IDSession and New-IDPlatformToken cleared the web session and subdomain when they started, but kept the earlier user and start time, so a failed sign-in left a session with no usable web session that companion modules took as still current. Clear the user and start time too.
Mark Unreleased as a major release, and add the entries for companion module support, the session Subdomain, and the failed sign-in change.
Find the Identity URL from the tenant's shared services subdomain by platform discovery, as an alternative to -tenant_url.
Release 1.0.0 Candidate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
First Major Release - See ChangeLog
Fixes #
Type of change
How Has This Been Tested?
Checklist: