Questions tagged [spring-boot-starter-oauth2-client]

21 questions
0
votes
0 answers

What can I do to fix the Converter Error that happens to appear in application.yml file used to connect to Amazon Cognito user pool?

I have created an Elastic Beanstalk web app that uses Amazon Cognito and its user pool and Hosted UI for sign-in before the user can reach a page with the form. I currently have my own domain and SSL certificate for the app so the sign-in can be…
0
votes
0 answers

Passing tokens through microservices using oauth2 authentication through GitHub

For this assignment we are to implement oauth2 using OAuth Apps in GitHub. We have two microservices UMS (UserManagmentService) and Messaging service. I am following the tutorial https://spring.io/guides/tutorials/spring-boot-oauth2/, as recommended…
0
votes
1 answer

Spring Boot AzureAD see if User is enabled/disabled without the user beeing currently authenticated

I have a Spring Boot App with AzureAD Authentication. This App generates a Username and Password for another page which can't have SSO (only htaccess). When I generate the Credentials for an authenticated user I want to recheck every 24 hours if the…
0
votes
1 answer

Unauthorized error when hitting the userinfo endpoint

I have configured the OAuth2 client application using Okta and working through the Authorization_code grant flow. The application is able to get the auth code and the token, but trying to hit the userinfo endpoint and getting a 401 error when I have…
0
votes
0 answers

How can i mock UserServiceDetails and Userservice

I am Writing Integration test,Unable to Mock UserService. I am getting below Exception org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizationServerConfig': Unsatisfied dependency expressed…
0
votes
1 answer

Spring Boot 2.3.4: Bug with JwtValidators.createDefaultWithIssuer(String)?

I found an odd behavior with JWT parsing and JwtValidators. Scenario: Spring Boot OIDC client (for now a tiny web app, only displaying logged in user and some OIDC objects provided by Spring) Custom JwtDecoderFacotry for…
1
2