O'Reilly logo

Dart: Scalable Application Development by Ivo Balbaert, Sergey Akopkokhyants, Davy Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Authorizing OAuth2 to Google services

You certainly have already seen websites where you can log in using your Google, Facebook, or Twitter account, instead of having to enter your information all over again. This service is most probably powered by OAuth2, which means (the second version of) the open (web) standard for authorization. It provides secured access to the server side of your application for clients that have been given an access token by a third-party OAuth2 authorization server. The credentials are guaranteed to be verified by the token and are not given to you as the website owner. The Dart team and community have provided us with some nice packages to easily implement this functionality.

How to do it...

If you want to use OAuth2 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required