0

我想在没有 webview 的情况下在 Android 中本地实现 OAUTH2 授权流程。我发现许多教程展示了如何使用 webview 使用 OAUTH2,但还没有找到任何使用 JSON、登录/pw 字段和本机 android 组件(减去 webview)执行重定向和登录后台的教程有没有人做过这个或对如何做到这一点有任何建议?

4

1 回答 1

1

I suggest you look at App-Auth and review this IETF Draft OAuth 2.0 for Native Apps

The Gluu Server will support PKCE in version 2.4.4 (due out the end of April) if you're looking to deploy an OpenID Connect Provider that supports this flow. Check out the docs for more info on how to deploy.

于 2016-03-29T19:54:16.170 回答