Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSA7f: clarify that send clientId regardless of basic/token auth #195

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

SimonWoolf
Copy link
Member

@SimonWoolf SimonWoolf commented Jul 5, 2024

Previous RSA7e said to only send clientId in the querystring & x-ably-clientid header in rest reqs if using basic auth. Which is just wrong, and not what any sdk does. (ably-js sends it unconditionally, ably-ruby sends it if token auth is used and it can see that the token has a wildcard client -- which is still wrong because the sdk might not know what the token clientId is if it's fed an opaque token string).

internal discussion: https://ably-real-time.slack.com/archives/C8SPU4589/p1720167508719079

(could argue this is a semver breaking change... but given no SDK actually implemented the previous spec as written, in practice it isn't)

textile/features.textile Outdated Show resolved Hide resolved
@SimonWoolf
Copy link
Member Author

I originally had this as adding a new RSA7f and deprecating RSA7e for <=3.0.0. But I've changed my mind, now just editing RSA7e in-place. Having RSA7e claim to be valid for <=3.0.0 ignores the reality that no SDK actually implemented RSA7e as written, so may as well change it to just reflect what they actually do

Copy link
Collaborator

@sacOO7 sacOO7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@ttypic ttypic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SimonWoolf SimonWoolf merged commit 409a88a into main Jul 8, 2024
2 checks passed
@SimonWoolf SimonWoolf deleted the clientid branch July 8, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants