Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

login page empty #673

Open
zhaoxinhua opened this issue Sep 26, 2024 · 1 comment
Open

login page empty #673

zhaoxinhua opened this issue Sep 26, 2024 · 1 comment

Comments

@zhaoxinhua
Copy link

zhaoxinhua commented Sep 26, 2024

docker信息
image

谷歌浏览器提示:

{
  "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>
@hsluoyz
Copy link

hsluoyz commented Sep 26, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants