We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e268bfb commit eaac9d2Copy full SHA for eaac9d2
apps/sim/app/(auth)/oauth/consent/page.tsx
@@ -100,11 +100,10 @@ export default function OAuthConsentPage() {
100
)
101
102
const handleSwitchAccount = useCallback(async () => {
103
- const currentUrl = window.location.href
104
await signOut({
105
fetchOptions: {
106
onSuccess: () => {
107
- window.location.href = `/login?callbackUrl=${encodeURIComponent(currentUrl)}`
+ window.location.href = '/login'
108
},
109
110
})
0 commit comments