在 ionic 应用程序中使用 Okta 身份验证时出现 OAuth 错误

Fat*_*han 0 authentication ionic-framework okta

在我的应用程序中集成 okta 身份验证时出现以下错误。

\n\n
OAuthError\n{\n    name: \xe2\x80\x9cOAuthError\xe2\x80\x9d,\n    message: \xe2\x80\x9cThe \xe2\x80\x98{0}\xe2\x80\x99 system claim could not be evaluated.\xe2\x80\x9d,\n    errorCode: \xe2\x80\x9cserver_error\xe2\x80\x9d,\n    errorSummary: \xe2\x80\x9cThe \xe2\x80\x98{0}\xe2\x80\x99 system claim could not be evaluated.\xe2\x80\x9d}\n    errorCode:"server_error"\n    errorSummary:"The \xe2\x80\x98{0}\xe2\x80\x99 system claim could not be evaluated."\n    message:"The \xe2\x80\x98{0}\xe2\x80\x99 system claim could not be evaluated." \n    name:\xe2\x80\x9cOAuthError\xe2\x80\x9d\n}\n
Run Code Online (Sandbox Code Playgroud)\n\n

请帮我。

\n

pjo*_*shi 8

Assil 错误代码+1 是

"The 'sub' system claim could not be evaluated."
Run Code Online (Sandbox Code Playgroud)

默认情况下,用户名,甚至分配给应用程序的用户都是空白的。我们必须手动添加它们。我正在检查是否可以通过编程方式完成以避免手动干预,将在这里分享。

添加用户名 添加用户名

编辑用户名 编辑用户名