Yoshify
KKinde
•Created by ninzamax on 4/12/2025 in #💻┃support
Frequent logouts
Also please make sure you're on the latest version (2.6.1) as there were further improvements to passive and on-demand refreshing in the latest release 🙂
10 replies
KKinde
•Created by ninzamax on 4/12/2025 in #💻┃support
Frequent logouts
If you set up the middleware to run on all paths the effect of
refreshTokens
will be handled for you automatically in the background when tokens approach expiry.10 replies
KKinde
•Created by ninzamax on 4/12/2025 in #💻┃support
Frequent logouts
refreshTokens
has no effect in app router environments.10 replies
KKinde
•Created by ninzamax on 4/12/2025 in #💻┃support
Frequent logouts
Are you using pages router or app router?
10 replies
KKinde
•Created by ninzamax on 4/12/2025 in #💻┃support
Frequent logouts
For passive refreshing of tokens to work when expiry is hit we need middleware to run on all paths - see the documentation
An example matcher would be:
You can opt out paths by extending the matcher further, or by using the
publicPaths
option on middleware. For an example of that see here10 replies
KKinde
•Created by ninzamax on 4/12/2025 in #💻┃support
Frequent logouts
What does your middleware setup look like?
10 replies
KKinde
•Created by Michael on 3/19/2025 in #💻┃support
Refresh token of removed user from organization
Just a follow up to the above, there's been some changes in how refreshing works in 2.6.0. Documentation has been updated to reflect this - please check it out here
16 replies
KKinde
•Created by swift on 3/12/2025 in #💻┃support
Nextjs middleware post login redirect not working
Sorry for the inconvenience - hang in there, new release should be just around the corner 🙂
13 replies
KKinde
•Created by swift on 3/12/2025 in #💻┃support
Nextjs middleware post login redirect not working
Hi @swift, we’re aware of this issue and have merged a fix for it already. It will be available in the next release.
For an interim fix, you can provide the full absolute url as your redirect instead of a relative path.
13 replies
KKinde
•Created by Noel on 1/31/2025 in #💻┃support
Middleware not protecting routes in version 2.5.0-11
Feel free to reach out privately if you’d prefer (we also have a confidential support channel)
14 replies
KKinde
•Created by Noel on 1/31/2025 in #💻┃support
Middleware not protecting routes in version 2.5.0-11
If you could share a HAR file from your dev tool capture that would help a lot in debugging too! 🙂
14 replies
KKinde
•Created by Noel on 1/31/2025 in #💻┃support
Middleware not protecting routes in version 2.5.0-11
Hi @Noel - just to clarify, is the issue that /api/auth/success isn’t being hit? Or is a redirection occurring when you attempt to push to the login page?
14 replies
KKinde
•Created by Noel on 1/31/2025 in #💻┃support
Middleware not protecting routes in version 2.5.0-11
Hi @Noel ! Could you please update to and try version
2.5.0-13
? Your issue should be resolved.14 replies
KKinde
•Created by Tachyon on 2/2/2025 in #💻┃support
Private Relay Apple ID
This is a feature built into Apple devices and is available anywhere Sign in with Apple is available. Disabling it is dependent on the user device.
The user will always have the same relay for your app, so when they sign back in (with Apple) it’ll use the same previously generated relay.
Relays forward all email to the original email address attached to the Apple ID, so it still functions the same as an email.
3 replies
KKinde
•Created by Noel on 1/31/2025 in #💻┃support
Middleware not protecting routes in version 2.5.0-11
@Noel thanks for your assistance, was able to replicate and identify the cause. We should another version out for testing soon - I'll update you when this happens.
14 replies
KKinde
•Created by Noel on 1/31/2025 in #💻┃support
Middleware not protecting routes in version 2.5.0-11
Thanks mate. Will attempt to replicate.
14 replies
KKinde
•Created by Noel on 1/31/2025 in #💻┃support
Middleware not protecting routes in version 2.5.0-11
What does your middleware look like?
14 replies
KKinde
•Created by Noel on 1/31/2025 in #💻┃support
Middleware not protecting routes in version 2.5.0-11
Hi @Noel !
I haven’t been able to replicate this in testing - could I confirm that you definitely don’t have a refresh token cookie in your cookies at all? If you try to visit a protected page in the new version you won’t be redirected to login if a refresh and revalidation succeeds.
14 replies
KKinde
•Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Fantastic! So glad to hear. You’re most welcome 👏
120 replies
KKinde
•Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Glad I can be of assistance, looking forward to seeing how you go 🙂
120 replies