chore: update version and changelog - #313
Merged
Merged
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 publish to npm yourself or setup this action to publish 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-api@0.14.0
Minor Changes
5bf51ca: Read the per-flow rate limits from system config, and document what a native client needs.
The OTP, magic link and OAuth limiters carried their values as constants: 10 OTP sends and 20
magic links per IP per 15 minutes, 5 per address, 30 OAuth starts per IP and 10 per provider.
Those suit a web audience and refuse a mobile one, because carriers put thousands of
subscribers behind one IPv4 address. The six limiters now read
flow_rate_limitsfrom systemconfig (
FLOW_RATE_LIMITSfrom the environment on first boot), an object whose defaults areexactly those constants, so an instance that sets nothing behaves as it did. A changed limit
applies on the next request; a changed
windowSecondsbuilds a fresh limiter for that window.perIdentityvalues guard the address and rarely need changing;perIpvalues are what adeployment serving a native app raises.
@seamless-auth/typesmoves to 0.22.0, which adds the key, andopenapi.jsonand the generatedtypes pick it up on the system config routes.
Docs gain a "Native and mobile clients" section in
api-contract.md(RP ID and origins for iOSand Android, magic link and OAuth destinations, the tenant-wide session lifetime, refresh reuse
detection, authenticator policy), a "Flow rate limits" section in
configuration.md, and theclient SDK packages in
ecosystem.md.