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

fix: oauth2 redirect url not consistent #930

Merged
merged 7 commits into from
Dec 31, 2024
Merged

Conversation

uubulb
Copy link
Contributor

@uubulb uubulb commented Dec 30, 2024

  1. strings.ToLower 延后到更新数据库条目时调用
  2. callback 和 bind api 使用对应的 redirect url

Fix #928

@naiba
Copy link
Member

naiba commented Dec 31, 2024 via email

@uubulb
Copy link
Contributor Author

uubulb commented Dec 31, 2024

path一致还是完全一致,能传不同query吗

不行 provider query 必须带上
好像只有github才是前缀匹配

@naiba
Copy link
Member

naiba commented Dec 31, 2024 via email

@naiba
Copy link
Member

naiba commented Dec 31, 2024

cache的state加个行为,对应行为操作

@naiba
Copy link
Member

naiba commented Dec 31, 2024

你直接改下?应该只是改下api,前端删些东西就好

@uubulb
Copy link
Contributor Author

uubulb commented Dec 31, 2024

cache的state加个行为,对应行为操作

url只用一个吗

@naiba
Copy link
Member

naiba commented Dec 31, 2024 via email

@naiba
Copy link
Member

naiba commented Dec 31, 2024 via email

@uubulb
Copy link
Contributor Author

uubulb commented Dec 31, 2024

先吃饭, 等一会写

@naiba naiba merged commit 553f8e5 into nezhahq:master Dec 31, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

oauth2 接入飞书 提示oauth2 user not binded yet
2 participants