Dart oauth2:sample not work

编程入门 行业动态 更新时间:2024-10-25 22:25:43
本文介绍了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

本文发布于:2023-11-27 01:47:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1636066.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Dart   work   sample

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!