CSGHub
CSGHub copied to clipboard
login page empty
docker信息
谷歌浏览器提示:
{
"status": "error",
"msg": "Redirect URI: http://121.37.3.254:80/api/v1/callback/casdoor doesn't exist in the allowed Redirect URI list",
"data": null,
"data2": null
}
edge浏览器提示
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Casdoor - An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS"
/>
<link
rel="apple-touch-icon"
href="https://cdn.casbin.org/img/favicon.png"
/>
<link
rel="manifest"
href="https://cdn.casbin.org/site/casdoor/manifest.json"
/>
<title>Casdoor</title>
<script defer="defer" src="/static/js/main.cd46c836.js"></script>
<link href="/static/css/main.b5f23b34.css" rel="stylesheet" />
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
@zhaoxinhua like it said, you should add http://121.37.3.254:80/api/v1/callback/casdoor to your Casdoor application's Redirect URIs, a similar docs: https://casdoor.org/docs/integration/C++/Nginx/#configuring-casdoor