docs: Add Safari ITP documentation for setActive() decorateUrl#3013
docs: Add Safari ITP documentation for setActive() decorateUrl#3013nikosdouvlis merged 7 commits intocore-3from
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Add documentation for the Safari cookie limitation workaround: - Added decorateUrl parameter to SetActiveParams navigate callback - Added Safari cookie limitations section to Clerk class reference
23bade5 to
e4e547a
Compare
- Fix Sarah's comments: navigation URLs → destination URLs, em-dash → spaced dash - Address Bryce's comment: clarify that ITP affects __client cookie specifically, not all JS cookies. The limitation is due to CNAME cloaking on clerk. subdomain
|
This looks good to me but just left one comment around the Also, @nikosdouvlis this change is meant to go into |
|
@alexisintech if I can have a second pair of eyes on this? |
|
@SarahSoutoul pushed a minor docs review. once @nikosdouvlis confirms if its for core 2 or for core 3, the relevant code examples across the docs need to be updated. so this PR is going to need another update. e.g. if its for core 2, there are many custom flows that use the |
41e5e63 to
6218f00
Compare
actually, i've just seen this PR: Add decorateUrl to navigate callbacks for Safari ITP support |
Alexis is correct! I've updated the base branch, the mismatch between the repos got me once again. Apologies for the confusion |
Yup, that's why I had this question here:
Glad we've got it all figured out. |
🔎 Preview:
What changed?
Adds documentation for the Safari ITP cookie workaround introduced in clerk/javascript#7623
Summary
decorateUrlparameter toSetActiveParamsnavigate callback documentationdecorateUrlto enable automatic cookie refreshRelated
Add decorateUrl to navigate callbacks for Safari ITP support PR updates all code examples to use this new feature