Tiktok support
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, react-native
- 领域
- authentication, mobile
调研方向
从 authorize API 和授权 URL 生成路径开始,然后将其参数处理方式与 TikTok Login Kit 文档进行比较。定义 customParameterNames、encodeParameterValues 和 staticAuthorizeUrl 应如何影响生成的 URL,并根据 TikTok 对 client_key 和逗号分隔的 scope 要求,验证最终行为。
由索引模型根据 Issue 内容生成。
描述
Some OAuth2 providers have a slightly different implementation than the official specification.
If we take the case of TikTok's implementation, here are the differences in the URL parameters during the authorization procedure:
- The
client_idparameter is namedclient_key. - The
scopeparameter value is comma separated and not URL encoded.
It should be possible to specify how to change the parameters when generating the authorization URL, for example, by initializing it with new parameters:
const result = await authorize({
customParameterNames: {
clientId: 'client_key'
...
},
encodeParameterValues: {
scope: false
},
staticAuthorizeUrl: 'https://example.com/authorize',
});
| Parameter | Type | Description |
|---|---|---|
| customParameterNames | Object | Specifies all parameters that should be renamed when generating the authorization URL. |
| encodeParameterValues | Object | Specifies all parameters that should be encoded or not when generating the authorization URL. |
| staticAuthorizeUrl | String | Specify to skip authorization URL generation and get this one |
Tiktok documentation :
https://developers.tiktok.com/doc/login-kit-web?enter_method=left_navigation
Any ideas?
- 主要语言
- Java
- 星标
- 2.3k
- 派生
- 472
- 平均合并
- 4 天 7 小时
- 30 天内合并 PR
- 9
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FormidableLabs/react-native-app-auth 的其他 Issue
-
[Android] AuthorizationService is never disposed: Custom Tabs bind leak breaks refresh() permanently after ~1000 calls可能已有人在做 @pranshuchittora 于 70 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 62/100
-
Android: opt-in Partial Custom Tab (bottom-sheet) for the authorization flow可能已有人在做 @omeratt 于 150 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 48/100
FormidableLabs/react-native-app-auth#1108 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 28/100
查看 FormidableLabs/react-native-app-auth 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
federicoiosue/Omni-Notes#1032 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
unitycatalog/unitycatalog#2025 ·
维护者通常 4 天内回复
-
难度 1/5 1-3 小时 新手友好度 78/100
krizaka/krizaka-notifications#22 ·
维护者通常 1 天内回复
-
CommandDispatcher.register returns a node that is not in the tree when the literal is already registered可能已有人在做 @auraseb 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 83/100
-
ToolCallbackProvider AutoConfiguration does not preserve tool order可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭status: waiting-for-triage
难度 2/5 1-3 小时 新手友好度 79/100
spring-projects/spring-ai#7206 ·
维护者通常 2 天内回复