-
Notifications
You must be signed in to change notification settings - Fork 14
Remove csrf endpoint once clients have time to upgrade #158
Comments
I saw that this endpoint is only on the POST method. However, doesn't the Uber internal xhr mechanism expect a csrf-token endpoint on the GET (see reference)?
|
The internal implementation is being phased out in favor of this implementation. Technically we are phasing out token refreshing all together so eventually you won't need to hit any endpoint at all. |
I understand it is being phased out. To handle an internal legacy migration that depend on components that aren't yet fusion/fetch compatible, I needed to create a compatibility plugin with this same code but for GET. |
The purpose is to allow clients to gradually upgrade to the newer server version. The internal csrf protection is not designed to be used with this library. That is entirely separate. |
You meant old clients of this plugin. Gotcha. |
After simplifying the plugin we can now remove the csrf endpoint. However, we should wait some time for clients to have time to upgrade.
The text was updated successfully, but these errors were encountered: