Skip to content

Client  #24

@ajayaks

Description

@ajayaks

Hi,

On running auth server its not persisting the client in DB but users are getting persist, how to persist the client info also in DB.

public void configure(ClientDetailsServiceConfigurer clients)
throws Exception {

	clients.jdbc(dataSource)
			.passwordEncoder(passwordEncoder)
			.withClient("client")
			.authorizedGrantTypes("authorization_code", "client_credentials", 
					"refresh_token","password", "implicit")
			.authorities("ROLE_CLIENT")
			.resourceIds("apis")
			.scopes("read")
			.secret("secret")
			.accessTokenValiditySeconds(300);

}
Please suggest
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions