<RedirectToOrganizationProfile /> (deprecated)
The <RedirectToOrganizationProfile /> component will navigate to the Organization profile URL which has been configured in your application instance. The behavior will be just like a server-side (3xx) redirect, and will override the current location in the history stack.
Example
import { Show, RedirectToOrganizationProfile } from '@clerk/react-router'
export default function Home() {
return (
<>
<Show when="signed-in">
<RedirectToOrganizationProfile />
</Show>
<Show when="signed-out">You need to sign in to view your Organization profile.</Show>
</>
)
}Feedback
Last updated on