Skip to content

Documentation issue: missing instructions for spring boot starter #113

@cbreezier

Description

@cbreezier

Prerequisites

How can we improve the docs or what is missing?

The KindeSdkClient is a required dependency for KindeOAuth2AutoConfig.

However, it is only annotated with @Component, and is not setup by any auto config. By default, Spring doesn't scan 3rd party packages for components, which means that the KindeSdkClient bean will be missing and the application will fail to start, based on current instructions in the README.

I see a few possible solutions, roughly in order of desirability:

  1. Add an auto config for KindeSdkClient (why is it done differently anyway?)
  2. Add guidance in the README to add @SpringBootApplication(canBasePackageClasses = [KindeSdkClient::class]) or similar

Provide extra context, such as what you were trying to do and your requirements

Just trying to get it to run at all.

If the docs page already exists, please provide a link

https://docs.kinde.com/developer-tools/sdks/backend/java-sdk/#kinde-spring-boot-starter

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions