b2b/magic_links/authenticate should use PKCE code challenge if link was created by login or create because the assumption is that its on the same device, but not use the PKCE code challenge if it was sent via the invite endpoint because that would be from a separate device.
Checklist:
[x] I have verified that this change works in the relevant demo app, or N/A
[x] I have added or updated any tests relevant to this change, or N/A
[x] I have updated any relevant README files for this change, or N/A
Linear Ticket: SDK-1827
Changes:
b2b/magic_links/authenticate
should use PKCE code challenge if link was created by login or create because the assumption is that its on the same device, but not use the PKCE code challenge if it was sent via the invite endpoint because that would be from a separate device.Checklist: