Skip to content

Commit c85845e

Browse files
committed
ref #267
1 parent 5436664 commit c85845e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

grpc-spring-boot-starter-demo/src/test/java/org/lognet/springboot/grpc/auth/UserDetailsAuthTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ public static UserDetails user() {
7575
return User.withDefaultPasswordEncoder()
7676
.username("user1")
7777
.password(pwd)
78-
.roles("reader")
79-
.authorities("SCOPE_profile")
78+
.authorities("ROLE_reader","SCOPE_profile")
8079
.build();
8180
}
8281

0 commit comments

Comments
 (0)