首页 > 解决方案 > 如何在 AppAuth iOS 中将“id_token”作为 responseType 而不是“code”传递来获取令牌

问题描述

我正在使用 AppAuth 库进行身份验证和检索令牌,如 response_type “id_token”,但该库给出以下错误:

不支持 response_type “id_token”。AppAuth 仅支持“代码”response_type。

我想使用“id_token”作为 response_type 而不是“code”,但我没有任何出路。

标签: iosauthenticationappauth

解决方案


推荐阅读