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

oauth2 接入飞书 提示oauth2 user not binded yet #928

Closed
muzihuaner opened this issue Dec 30, 2024 · 4 comments · Fixed by #930
Closed

oauth2 接入飞书 提示oauth2 user not binded yet #928

muzihuaner opened this issue Dec 30, 2024 · 4 comments · Fixed by #930

Comments

@muzihuaner
Copy link

oauth2: Feishu: clientid: "cli_xxx" clientsecret: "xxxx" endpoint: authurl: "https://open.feishu.cn/open-apis/authen/v1/index" tokenurl: "https://passport.feishu.cn/suite/passport/oauth/token" scopes: - "read_user" userinfourl: "https://open.feishu.cn/open-apis/authen/v1/user_info" useridpath: "id"

目前遇到的问题 提示oauth2 user not binded yet 如何解决?

@muzihuaner
Copy link
Author

尝试绑定
显示
oauth2: "invalid_request" "The redirect_uri does not match the token."

@muzihuaner
Copy link
Author

上面问题已解决
tokenurl 换成 https://open.feishu.cn/open-apis/authen/v2/oauth/token
但是又有了新的问题
The provided redirect URI does not match the one used during authorization

@muzihuaner
Copy link
Author

@muzihuaner
Copy link
Author

现在的飞书oauth2配置
oauth2:
Feishu:
clientid: "cli_xxx"
clientsecret: "xxxx"
endpoint:
authurl: "https://open.feishu.cn/open-apis/authen/v1/index"
tokenurl: "https://open.feishu.cn/open-apis/authen/v2/oauth/token"
scopes:
- "read_user"
userinfourl: "https://open.feishu.cn/open-apis/authen/v1/user_info"
useridpath: "id"

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 a pull request may close this issue.

1 participant