|
@@ -50,10 +50,14 @@ public class OauthAuthorizationServerConfiguration extends AuthorizationServerCo
|
|
clients.inMemory()
|
|
clients.inMemory()
|
|
.withClient("simulation-oauth-client")
|
|
.withClient("simulation-oauth-client")
|
|
.secret("hPT7zVteEXvRzS41NhJXoQYqtGmai3W0")
|
|
.secret("hPT7zVteEXvRzS41NhJXoQYqtGmai3W0")
|
|
- .resourceIds("simulation-resource-scheduler")
|
|
+ .resourceIds(
|
|
|
|
+ "simulation-resource-common",
|
|
|
|
+ "simulation-resource-scheduler",
|
|
|
|
+ "simulation-resource-sever"
|
|
|
|
+ )
|
|
.authorizedGrantTypes("password", "refresh_token")
|
|
.authorizedGrantTypes("password", "refresh_token")
|
|
.scopes("all")
|
|
.scopes("all")
|
|
- .autoApprove(false);
|
|
+ .autoApprove(true);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|