Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect Endpoint? #4331

Open
rwilliams3088 opened this issue Apr 5, 2024 · 1 comment
Open

Redirect Endpoint? #4331

rwilliams3088 opened this issue Apr 5, 2024 · 1 comment

Comments

@rwilliams3088
Copy link

I'm working on writing a little API for communicating with my authentication server. For logging in and out, it is necessary to perform a redirect. Does RTK Query currently support the ability to perform redirects? Or would this be a place to use queryFn? Thanks :)

@phryneas
Copy link
Member

phryneas commented Apr 5, 2024

RTK Query has no integration with any routing library, so you'd have to do that yourself, probably in a query lifecycle event or some other kind of side effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants