Try creating the channel with GoogleDefaultCredentials(). See
http://www.grpc.io/docs/guides/auth.html#using-google-token-based-authentication
for more details.

On Wed, Aug 24, 2016 at 7:03 PM, Manh Tran <[email protected]> wrote:

> Hi,
>
> I'm writing a gRPC client connect to google cloud speech. I think it needs
> an access token to connect to google cloud. Please tell me how to get an
> access token OAuth2 on gRPC C++.
>
> Thanks.
>
> --
> 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].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/grpc-io/b5d211f5-c03a-405f-ac1c-13b270bf8a02%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/b5d211f5-c03a-405f-ac1c-13b270bf8a02%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAB1HKY5DkuGv6%2BGznz8EW%2BkgOJBe46DaFbbnjaSP6%2BOKpYZZtA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to