angel-dart / auth_google

[ARCHIVED] angel_auth strategy for Google OAuth2 login.

Home Page:https://pub.dartlang.org/packages/angel_auth_google

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Dart > 2.0?

bkbonner opened this issue · comments

I was trying to walk through the chat app in the Angel docs. updating it as I went for Dart 2.1 support.

Angel version: Angel 2.0 and Dart 2.1
Steps to reproduce error: walk through chat app w/ flultter
Error message, stack trace and output (if available)
Because server depends on angel_auth_google >=1.0.0+1 which requires SDK version >=1.18.0 <2.0.0, version solving failed.
How urgently do you need the issue to be fixed? when you get a chance

Hey, Brian, I should let you know that the chat article is over a year old, and is outdated, as in the time since, Dart 2 was released, and Angel began an upgrade to Angel 2 shortly thereafter. So just know that the instructions are likely to not work. I'll eventually put out a new article, and include a link to it, so that it's no longer confusing. Sorry about the inconvenience.

This package hasn't yet been updated, but it is on the tracker of items to resolve before the v2 release: angel-dart/angel#78

It's not necessarily a difficult package to upgrade, but I think I will do the upgrade myself, because the changes required are not yet found in documentation.

I'm currently working on bullseye, but some time today I'll be working on Angel, and will make sure to publish an upgrade to this package.

Yes, Angel will be a good thing to work with if you want a single-language stack.

Also, after finishing updating package:angel_auth_oauth2, I've decided to archive this repo and point users there instead.

auth_google uses OAuth2 anyways, and relies on the Google+ API. Google+ will be closed some time this year, so this code would otherwise be bound to rot.

Of course, existing versions will always be there. Going forward, though, I can focus on maintaining just one package, and keeping that high-quality.

https://github.com/angel-dart/auth_oauth2