Discussion:
[dart-misc] RPC API auth
Tristan Caron
2015-06-26 16:16:46 UTC
Permalink
Hello,

I'm working on a API which delivers responses only for authenticated users.

RPC is helping me in my task. But, I have explored the code, and I haven't
found any traces of authentication support like cloud endpoint service have.

I missing something, or there are other ways to perform my auth?

Thank you.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Warren
2015-06-27 21:44:19 UTC
Permalink
I filed this:

https://github.com/dart-lang/rpc/issues/31

For pluggable authorization handling.

I agree - this is needed.
Post by Tristan Caron
Hello,
I'm working on a API which delivers responses only for authenticated users.
RPC is helping me in my task. But, I have explored the code, and I haven't
found any traces of authentication support like cloud endpoint service have.
I missing something, or there are other ways to perform my auth?
Thank you.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
joe hentoesch
2015-06-27 23:09:42 UTC
Permalink
maybe have a look at shelf_auth -
https://pub.dartlang.org/packages/shelf_auth.
i am using it together with rpc to allow only authenticated access to my
rpc/rest api.
Post by Tristan Caron
Hello,
I'm working on a API which delivers responses only for authenticated users.
RPC is helping me in my task. But, I have explored the code, and I haven't
found any traces of authentication support like cloud endpoint service have.
I missing something, or there are other ways to perform my auth?
Thank you.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Tristan Caron
2015-06-28 11:53:10 UTC
Permalink
Thank you both. I have adopted the solution of Joe.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...