Commit 3deac290 by a.e Committed by GitHub

fix: sso redirect (#3395)

parent b7eb4c15
...@@ -170,7 +170,7 @@ const FormLayout = ({ children, setPageType, pageType }: Props) => { ...@@ -170,7 +170,7 @@ const FormLayout = ({ children, setPageType, pageType }: Props) => {
}); });
const formatUrl = `${url}/login/oauth/authorize?redirect_uri=${encodeURIComponent(redirectUri)}&state=${state.current}`; const formatUrl = `${url}/login/oauth/authorize?redirect_uri=${encodeURIComponent(redirectUri)}&state=${state.current}`;
router.replace(formatUrl, '_self'); window.open(formatUrl, '_self');
}} }}
> >
{feConfigs.sso.title} {feConfigs.sso.title}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment