mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +00:00
fix: sso redirect (#3395)
This commit is contained in:
@@ -170,7 +170,7 @@ const FormLayout = ({ children, setPageType, pageType }: Props) => {
|
||||
});
|
||||
|
||||
const formatUrl = `${url}/login/oauth/authorize?redirect_uri=${encodeURIComponent(redirectUri)}&state=${state.current}`;
|
||||
router.replace(formatUrl, '_self');
|
||||
window.open(formatUrl, '_self');
|
||||
}}
|
||||
>
|
||||
{feConfigs.sso.title}
|
||||
|
Reference in New Issue
Block a user