strapi-plugin-passwordless icon indicating copy to clipboard operation
strapi-plugin-passwordless copied to clipboard

safelinks.protection.outlook.com invalidates passwordless link

Open Cerlancism opened this issue 1 year ago • 1 comments

Now outlook will wrap any url with safelinks, which upon click will access the link on behalf of the user first before redirecting the user.

I implemented the handover of jwt at server side rendering setting httpOnly cookie.

I think could wrap another redirect at browser side which then actually calls the login API. Or, can we have a switch to allow re-use of the link or only invalidate the link after few access counts instead of 1.

Seems Related: https://github.com/kucherenko/strapi-plugin-passwordless/issues/16

Cerlancism avatar Aug 04 '23 07:08 Cerlancism

Good point, thank you for the issue

kucherenko avatar Aug 04 '23 13:08 kucherenko