generated from kinde-oss/kinde-oss-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Prerequisites
- I have searched the repository’s issues and the Kinde community to ensure my documentation issue isn’t a duplicate
- I have read the contributing guidelines
- I agree to the terms within the code of conduct
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:
- Add an auto config for KindeSdkClient (why is it done differently anyway?)
- 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation