-
Notifications
You must be signed in to change notification settings - Fork 34
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
GRPC jwt based call authentication #258
Conversation
@Test | ||
void shouldAddWithHmac512() { | ||
applicationContextRunner = applicationContextRunner.withPropertyValues( | ||
"spring.profiles.active: not_gateway", |
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.
not_gateway
but has a bean? Huh?
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.
should I require gateway profile? I would expect that it wouldn't be a situation when grpc.auth has some setup, but grpc itself is disabled. That's why I simplified this config and left it independently from the anything else.
...sport-auth/src/main/java/com/github/bsideup/liiklus/transport/grpc/StaticRSAKeyProvider.java
Show resolved
Hide resolved
blocked now by #259 |
gradle.properties
Outdated
@@ -1 +1,2 @@ | |||
org.gradle.caching=true | |||
version=0.0.1-SNAPSHOT |
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.
had to define it, otherwise pf4j complained for a unparseable version during plugins startup (seems plugin dependency triggered that parsing, even there is no version specified there)
Partially addresses #188
Channel auth would follow as a separate PR