RPC API auth

87 views
Skip to first unread message

Tristan Caron

unread,
Jun 26, 2015, 12:16:46 PM6/26/15
to mi...@dartlang.org
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.

Warren

unread,
Jun 27, 2015, 5:44:19 PM6/27/15
to mi...@dartlang.org


I filed this: 


For pluggable authorization handling. 

I agree - this is needed.

joe hentoesch

unread,
Jun 27, 2015, 9:08:16 PM6/27/15
to mi...@dartlang.org
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.

Tristan Caron

unread,
Jun 28, 2015, 7:53:10 AM6/28/15
to mi...@dartlang.org
Thank you both. I have adopted the solution of Joe.
Reply all
Reply to author
Forward
0 new messages