There are a lot of examples of how to use OAuth2 in Dart client-side (in browser), but I can't find any example of how to implement authentication for server-side.
For example, for Node.JS there are frameworks like PassportJS but I can't find anything similar for Dart.
As a use case could be a not SPA project, and I need to provide login to Google/Facebook/Twitter/etc
Can anybody provide any snippet using raw dart:io
HttpServer
or any server-side frameworks like Start or Bloodless ?
The description says client library but also that it only works with 'dart:io' which means it is for the server http://pub.dartlang.org/packages/oauth2
and
http://pub.dartlang.org/packages/google_oauth2_v2_api (client and server)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With