Hi
I have the exact same issue.
Have you figured this out?
My config:
const config: FusionAuthProviderConfig = {
loginPath: "/oauth2/authorize/",
logoutPath: "/oauth2/logout",
registerPath: "/oauth2/register",
clientId: "my-client-id",
redirectUri: "http://localhost:3000/account", login/register/logout action
serverUrl: "/oauth2/token",
shouldAutoFetchUserInfo: true,
shouldAutoRefresh: true,
onRedirect: (state?: string) => {},
};