本文介绍了Dart oauth2:sample not work的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试了dart oauth2库的示例代码: https ://github/dart-gde/dart-google-oauth2-library
I tried the sample code for dart oauth2 library from: github/dart-gde/dart-google-oauth2-library
我按照README,创建了一个新项目从Google API控制台并设置
I followed the README, create a new project from Google API console and set
Redirect URIs: 127.0.0.1:3030/oauth2callback JavaScript origins: 127.0.0.1:3030然后我更改oauth_example.dart文件中的客户端ID ,并运行。 我可以看到一个带有登录按钮的网页。我点击它,但什么也没有发生。 有人有经验吗?非常感谢
then I change the client id in oauth_example.dart file, and run. I can see a web page with a login button. I clicked it but nothing happens. Is anybody has experience about it? Thanks a lot
推荐答案尝试此教程。很清楚,一步一步。
Try this tutorial. Very clear, step by step.
更多推荐
Dart oauth2:sample not work
发布评论