mirror of https://gitee.com/topiam/eiam
⚡ 优化身份提供商
parent
60d3a393f0
commit
fbe42cc7bc
|
@ -29,9 +29,8 @@ export const ICON_LIST = {
|
|||
wechat_work: <IconFont name="icon-qiyeweixin" />,
|
||||
wechat_qr: <IconFont name="icon-weixin" />,
|
||||
wechat_webpage: <IconFont name="icon-weixin" />,
|
||||
dingtalk_qr: <IconFont name="icon-dingtalk" />,
|
||||
dingtalk_oauth: <IconFont name="icon-dingtalk" />,
|
||||
wechatwork_qr: <IconFont name="icon-qiyeweixin" />,
|
||||
wechatwork_oauth: <IconFont name="icon-qiyeweixin" />,
|
||||
feishu_oauth: <IconFont name="icon-feishu" />,
|
||||
qq_oauth: <IconFont name="icon-qq" />,
|
||||
gitee_oauth: <IconFont name="icon-gitee" />,
|
||||
|
|
|
@ -31,7 +31,7 @@ export const ICON_LIST = {
|
|||
wechat_qr: <IconFont name="icon-weixin" />,
|
||||
dingtalk_qr: <IconFont name="icon-dingtalk" />,
|
||||
dingtalk_oauth: <IconFont name="icon-dingtalk" />,
|
||||
wechatwork_qr: <IconFont name="icon-qiyeweixin" />,
|
||||
wechatwork_oauth: <IconFont name="icon-qiyeweixin" />,
|
||||
feishu_oauth: <IconFont name="icon-feishu" />,
|
||||
qq_oauth: <IconFont name="icon-qq" />,
|
||||
gitee_oauth: <IconFont name="icon-gitee" />,
|
||||
|
|
|
@ -23,7 +23,7 @@ const WeWorkOrCode = (props: { code: string }) => {
|
|||
const { code } = props;
|
||||
const query = queryString.parse(history.location.search);
|
||||
const { redirect_uri } = query as { redirect_uri: string };
|
||||
let path = `/api/v1/authorization/wechatwork_qr/${code}`;
|
||||
let path = `/api/v1/authorization/wechatwork_oauth/${code}`;
|
||||
if (redirect_uri) {
|
||||
path = `${path}?redirect_uri=${redirect_uri}`;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue