Giter Site home page Giter Site logo

Comments (6)

SliverKeigo avatar SliverKeigo commented on July 30, 2024

image
刪除該環境變量後成功正確跳轉

from rin.

OXeu avatar OXeu commented on July 30, 2024

有几个问题:

  1. 描述中说的是跳转到了 <前端地址>/<后端地址>/user/github/callback,这是授权成功后回调的地址,如果这个地址出错应该检查 Github Oauth 中配置中的地址。但是截图中的地址是 <前端地址>/<后端地址>/user/github,是前端跳转到后端的地址,综合考虑可能是描述的时候写错了的可能性更大
  2. 前端点击登录跳转的地址拼接应该是只借助于 OAUTH_URLAPI_URL,其中 OAUTH_URL 会被优先使用,如果其他请求正常的话大概率是 OAUTH_URL 没用添加 https:// 的原因才产生以上现象,后面正常工作猜测是删除了 OAUTH_URL

from rin.

SliverKeigo avatar SliverKeigo commented on July 30, 2024

OAUTH_URL 填寫正確 確實是在刪除FRONTEND_URL後成功跳轉

from rin.

SliverKeigo avatar SliverKeigo commented on July 30, 2024

如果OAUTH_URL 未添加https://將無法保存

from rin.

OXeu avatar OXeu commented on July 30, 2024

OAUTH_URL 填寫正確 確實是在刪除FRONTEND_URL後成功跳轉

没道理啊,OAuth 跟 FRONTEND_URL 完全不相干,是不是在这期间还同步过仓库

from rin.

SliverKeigo avatar SliverKeigo commented on July 30, 2024

並沒有 我正在嘗試復現

from rin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.