Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Add Python auth example #135

Merged
merged 1 commit into from
Jan 13, 2016
Merged

Add Python auth example #135

merged 1 commit into from
Jan 13, 2016

Conversation

soltanmm
Copy link

@nathanielmanistaatgoogle
Copy link
Member

Looks good; reassigning to @jboeuf for his review.


# With server authentication SSL/TLS
creds = implementations.ssl_channel_credentials(open('roots.pem').read(), None, None)
channel = implementations.secure_channel('localhost', 50051, creds)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please replace 'localhost', 50051 by 'greeter.googleapis.com', 443.

@jboeuf
Copy link

jboeuf commented Jan 13, 2016

We know we'll have to update this when we have JWT Access for python but I will merge the current work for now.

jboeuf added a commit that referenced this pull request Jan 13, 2016
@jboeuf jboeuf merged commit 3f41aed into grpc:master Jan 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants