
ogzsd (ogzsd) asked a question.
Hi Team,
I am trying to apply both the Client credentials grant and Authorization code grant to my Spring Boot app. User requests should be authenticated via the Authorization code grant and other servers need to be authenticated via the Client credentials grant. Is this possible? Can you please direct me to documentation regarding applying multiple grants without one blocking the other flow.
Thanks!
-Sindhu (she/her)

Hi @ogzsd (ogzsd) , Thank you for reaching out to the Okta Community!
Here is some documentation regrading the Spring Boot implementation, but my advice would be to reach out to the dedicated Developer Forum devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features.
https://developer.okta.com/blog/2020/11/24/spring-boot-okta
https://developer.okta.com/code/java/spring/
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
Community members help others by clicking Like or Select as Best on responses. Try it today.
@ogzsd (ogzsd) other sever can create API Service, it support public and private key for authentication.
https://developer.okta.com/docs/guides/build-api-integration/main/#edit-your-api-service-integration-submission
https://developer.okta.com/docs/guides/implement-grant-type/authcode/main/