Repository navigation
Version Packages - #159
Merged
Merged
Version Packages#159
Conversation
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@seamless-auth/types@0.40.0
Minor Changes
e531f89: Fill the gaps the API and OpenID Provider found while adopting the extensibility schemas.
AUTH_EVENT_TYPESlistssession_created,custom_claims_omitted,admin_oidc_application_link_addedandadmin_oidc_application_link_removed, which the API already writes.OidcAccountClaimsSchemacarries the permission claims (permissions,permissions_omitted,org_roles,org_permissions) andcustomClaims, which defaults to{}for an API that does not send it.OidcSignRefusalCodeSchemaaddsclaims_mismatch, which/oidc/signanswers when the account claims in a signing input are not what the API computes now, so the provider reads the account again and retries once.OIDC_EDGE_CONTRACT_VERSIONstays at 3: an older provider does not parse the code and fails the sign, as it did for thesubject_mismatchthe API sent before.CustomClaimValueSchemaspells out its three levels of nesting instead of using the recursivez.json(), so OpenAPI generators such as@asteasolutions/zod-to-openapino longer overflow their stack on it. It accepts and refuses exactly what it did before.CustomClaimSourceSchemanow reads stored claims with it too.CustomClaimValueis now a type nested three levels deep rather than zod'sJSONType, so code that assigns an arbitraryJSONTypeto it needs a cast or a parse.CalloutFailureSchemaaddsmisconfigured, for a destination whose own configuration cannot be used, such as a secret it names that the server does not have.LoginDeniedErrorSchemaandLoginHookUnavailableErrorSchemadescribe the 403 and 503 a sign-in answers when a login hook stops it.