user experience is poor after sso
ntop001 opened this issue · comments
ntop001 commented
After part1,we get an application that we can login and use it, but after sso, we get an application that we should login and authorize it then wen can use it . it seems the application is not my app, the user experience is poor. How can I build the ui-app as part 1(login and use it), and the backend resource-app still use sso ?
ntop001 commented
@Override
public void configure(ClientDetailsServiceConfigurer clients) throws Exception {
clients.inMemory()
.withClient("acme")
.secret("acmesecret")
.authorizedGrantTypes("authorization_code", "refresh_token",
"password").scopes("openid").autoApprove(true);
}
Then, it'll skip the authorize step.