Hi all,


I'm using latest version of gRPC and I'm using node.js to make 
an authenticated channel using custom access token and ssl certificate

*Brief explanation:*

I was trying to make authenticated channel using combined credentials (ie. 
ssl_creds & call_creds) as shown in 
http://www.grpc.io/docs/guides/auth.html#authenticate-with-google-4.
But instead of using google auth, I was trying to use my own access token.

I am getting errors such as
W20170523-10:25:15.721(-3)? (STDERR) plainSignature.push( 
signature[key].name );
W20170523-10:25:15.720(-3)? (STDERR) ^
W20170523-10:25:15.728(-3)? (STDERR) TypeError: Cannot read property 'name' 
of null
W20170523-10:25:15.733(-3)? (STDERR) at __ 
(C:\Users\prasanna.elangovan\Desktop\Meteor_Practice\node_modules\arguejs\argue.js:117:46)


Can anyone please provide example code to achieve a authenticated channel 
using ssl certificate & custom access token


FYI - There is a way to do this in python 
 - 
http://www.grpc.io/grpc/python/_modules/grpc.html#access_token_call_credentials.
 
I want to do the same in node.js.


Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/136526ce-dc63-4faa-986b-0568764ab0a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to