You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way of redirecting does not work with Fastify (tested on Android webviews).
FastifyReply exposes a method called redirect that does work properly. A good way to solve this is to add another method to BaseResponse for redirection that can use framework default methods of doing redirects wherever possible.
All instances in code where we manually redirect should then also use this function
The text was updated successfully, but these errors were encountered:
For anyone following this issue, this has been added to the pipeline and will be prioritised if enough people run into this issue. In the meantime if you do run into this issue you can use the original FastifyReply object to redirect using their helper function by overriding the apple redirect API
Inside your override you can access the response object
The default API implementation for Apple redirect post includes the following code:
This way of redirecting does not work with Fastify (tested on Android webviews).
FastifyReply exposes a method called
redirect
that does work properly. A good way to solve this is to add another method to BaseResponse for redirection that can use framework default methods of doing redirects wherever possible.All instances in code where we manually redirect should then also use this function
The text was updated successfully, but these errors were encountered: