Conversation
|
This PR will trigger a minor release when merged. |
Member
|
Reviewed together with the related spacecat-auth-service#448 (sets the Clean, minimal change. The No issues found. Ready to merge. |
solaris007
approved these changes
Feb 18, 2026
Member
solaris007
left a comment
There was a problem hiding this comment.
Approved. Clean accessor following existing patterns, well-tested.
solaris007
pushed a commit
that referenced
this pull request
Feb 18, 2026
## [@adobe/spacecat-shared-http-utils-v1.21.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.20.1...@adobe/spacecat-shared-http-utils-v1.21.0) (2026-02-18) ### Features * s2s admin claim ([#1360](#1360)) ([2749376](2749376))
Member
|
🎉 This PR is included in version @adobe/spacecat-shared-http-utils-v1.21.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Summary
Branch:
s2sadmin-profile-claimCommit:
d9a62e32—feat: s2s admin claimChanges
packages/spacecat-shared-http-utils/src/auth/auth-info.jsisS2SAdmin()method to theAuthInfoclass that returns theis_s2s_adminclaim from the user profile (using optional chaining for safety).packages/spacecat-shared-http-utils/test/auth/auth-info.test.jsisS2SAdmin():undefinedwhen no profile is setundefinedwhenis_s2s_adminis not present in the profiletruewhenis_s2s_administruefalsewhenis_s2s_adminisfalseTest Results
auth-info.js