-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Endpoints Auth Between Services #1330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Endpoints Auth Between Services #1330
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are also likely several style violations that checkstyle will check when the parent pom is added.
endpoints/getting-started/clients/src/main/java/com/example/app/JWTClient.java
Outdated
Show resolved
Hide resolved
endpoints/getting-started/clients/src/main/java/com/example/app/JWTClient.java
Outdated
Show resolved
Hide resolved
endpoints/getting-started/clients/src/main/java/com/example/app/JWTClient.java
Outdated
Show resolved
Hide resolved
endpoints/getting-started/clients/src/main/java/com/example/app/JWTClient.java
Outdated
Show resolved
Hide resolved
19765e9
to
510d311
Compare
@kurtisvg I addressed your comments, let me know if there's anything else |
@dansanche Just needs a test for the two snippets, then LGTM |
The issue with testing these is that it requires an endpoints backed to be deployed for it to work as intended. If you think it's necessary, I could test the jwt creation function in isolation, but it feels like that would be more a test of the jwt/cyptography libraries I'm using rather than the sample itself |
No, that seems like a reasonable explanation. |
Adding java samples for endpoints auth between services
related to b/109951097 and cl/228405078