There are many examples of how to use OAuth2 on the client side of the Dart (in the browser), but I cannot find an example of how to implement authentication on the server side.
For example, for Node.JS there are such frameworks as PassportJS, but I can not find anything similar for Dart.
As a use case, there may be a non-SPA project, and I need to provide a login on Google / Facebook / Twitter / etc.
Can anyone provide some piece of code using raw dart:io HttpServeror any server-side frameworks like Start or Bloodless ?
source
share