onSuccess bug?
onSuccess requires 1s setTimeout before redirecting, otherwise the session is null. the documentation doesn't mention this, I was expecting that onSuccess means the session was already set, is this a bug?
1 Reply
for context, this only happens on next static export, this isn't an issue on server rendered next.