fix: sso redirect (#3395)
This commit is contained in:
parent
b7eb4c15de
commit
3deac290bf
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user