gpt4 book ai didi

ios - 错误 :Redirect uri invalid for vimeo using oath in ios app

转载 作者:塔克拉玛干 更新时间:2023-11-02 10:02:55 24 4
gpt4 key购买 nike

在我的应用程序中,我正在集成用于 vimeo 上传的 OAuth2.0 库。用户登录他的帐户后,我收到错误消息,因为重定向 uri 无效。我的代码,

self.oauthClient = [[LROAuth2Client alloc] initWithClientID:@"**** 客户端 ID ****" secret:@"* secret * "redirectURL:[NSURL URLWithString:@"testMyApp://oauth"]];

在 plist 中,我在 url schemes 中将“testMyApp”作为字符串。

这是指定重定向 uri 的正确方法吗?请帮忙!

最佳答案

您的重定向网址必须与开发者网站上配置的网址 100% 匹配。

如果您的用户被重定向到 testMyApp://oauth,您配置的重定向 url 必须完全是 testMyApp://oauth

关于ios - 错误 :Redirect uri invalid for vimeo using oath in ios app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27061578/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com