如何实现应用内授权,而不是跳开浏览器
Open
Nobody has claimed this yet.
domain/auth
enhancement
- Dominant language
- Go
- Stars
- 17.3k
- Forks
- 1.4k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 105
Description
现在在执行命令遇到缺少授权scope时,使用 lark-cli auth login --scope "im:message.send_as_user" ,弹出浏览器授权,会导致用户需要跳出本地产品中断体验,或者一些非桌面场景无法打开浏览器。
需求:支持在终端中通过命令授权
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the lark-cli auth login --scope command and trace how it handles missing authorization scopes and launches the browser. Define a terminal-based authorization flow that also works when no browser is available. Done means users can authorize the requested scope entirely from the terminal without leaving the local product.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authentication, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100