Skip to content

Release 1.0.0 - #38

Merged
pspete merged 17 commits into
mainfrom
dev
Oct 12, 2026
Merged

pspete merged 17 commits into
mainfrom
dev

Conversation

@pspete

@pspete pspete commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Description

First Major Release - See ChangeLog

Fixes #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that makes existing functionality work differently)
  • Documentation update
  • Other (see description)

How Has This Been Tested?

  • Pester test(s) update required
  • Pester test(s) updated
  • Pester test(s) passing

Checklist:

  • My code follows the style guidelines of this project
  • I have followed the contributing guidelines.
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new test failures or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have opened & linked a related issue
  • I have linked a related issue

pspete added 17 commits October 9, 2026 13:33
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.
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.
@pspete
pspete merged commit 3c04acf into main Oct 12, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant