Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
1 answer
779 views

I'm migrating from spring-boot 2.7.18 to 3.3.3 and moving from spring-security-oauth2 to spring-boot-starter-oauth2-authorization-server UPDATE: My usecase: I have gateway service which is sitting ...
Nemanja's user avatar
  • 19
0 votes
0 answers
295 views

We have a project that uses the deprecated Spring Security OAuth module. We also use Spring v5, Spring Boot v2 and Tomcat v9. Java version is 17. From what I have found the new Spring Authorization ...
dodo9's user avatar
  • 1
0 votes
0 answers
596 views

I'm currently working on implementing an Authorization Server using Spring Security OAuth. While configuring the OAuth server, I've encountered that the AuthorizationServerConfigurerAdapter class ...
김민영's user avatar
1 vote
0 answers
105 views

I want to integrate oAuth2 resource server feature in my spring boot 2.0.5.RELEASE application in order to protect api access with valid token issued by my authorization server keycloak. Then to ...
Rodja's user avatar
  • 13
0 votes
1 answer
462 views

This question is about Spring-Security and Multitenancy. I'm facing a challenge to implement a multitenancy oAuth2-Security for customers who use JWT tokens with realm roles and other without. So far ...
naptoon's user avatar
  • 1,403
0 votes
1 answer
2k views

A new session is created every time I get tokens from Keycloak. Every time I get a token, I want the previous sessions to be closed. I have not seen such a service on the Keycloak side. What method ...
kernel's user avatar
  • 902
0 votes
1 answer
246 views

I got error when I got token0 Handling error: InsufficientAuthenticationException, There is no client authentication. Try adding an appropriate authentication filter. I can get the code from http://...
jason li's user avatar
1 vote
0 answers
467 views

I am doing migration of oauth2 from spring security 4.0.1 to 6.0.1 and found that DefaultTokenServices has been removed in spring security 6 We were previously autowiring of DefaultTokenServices as ...
sejal mirani's user avatar
0 votes
1 answer
1k views

Existing Spring Boot project spring-boot-starter-parent version 1.5.3.RELEASE and spring-boot-starter-security version 3.1.2 I am upgrading the project from jdk 8 to jdk 21, Spring Boot to 3.1.4 and ...
Sreejesh's user avatar
1 vote
1 answer
4k views

I have a Spring Boot application. Spring Boot 3 and Java 17. I want to use OAuth 2.0 for security purpose. I checked a few articles. It states that OAuth 2.0 is deprecated. Can anyone suggest how to ...
Clementine's user avatar
0 votes
1 answer
859 views

I am using docker to deploy an application with: an nginx container terminating SSL a Keycloak container a Spring Boot OAuth resource server. I have the following configuration: security: ...
Heuriskos's user avatar
  • 552
0 votes
0 answers
113 views

Hi have these below details which are working fine from Postman but I need to retrieve the Oauth2 token from Java. ClientId : clientid-abcd-bcda-xxxx-bbbbc-bbbbsjhk clientsecret: client-secret-xxxx-...
Maveric's user avatar
  • 39
1 vote
3 answers
5k views

Suppose we have a confidential OAuth2 Client performing authorization against the Authorization Server using authorization code grant type. Here's a minimal reproducible example. Client application is ...
Inquisitive's user avatar
1 vote
0 answers
923 views

We plan to migrate to Spring 6 from Spring 5 and were using spring-security-oauth2:2.5.1 library. Now with Spring 6, since we need to use Jakarta namespace and spring-security-oauth2 latest 2.5.2 ...
collaborate.ever's user avatar
1 vote
1 answer
2k views

Is it possible to add custom claims into an access token at the moment of requesting that? I mean, by default authorization server adds its claims, but in mu case, I'd like request an access token ...
Jordi's user avatar
  • 23.6k
-2 votes
1 answer
587 views

I am getting a JWT token to the java back-end from the UI which contains "roles" in it. I am trying to implement role based authorization(secure the Rest APIs) using spring security using ...
noob555's user avatar
  • 57
1 vote
1 answer
1k views

I'm trying to create a JWT token with NimbusJwtEncoder, and I'm getting a token correctly. but each time i verify it on jwt.io it says that the signature is invalid, because it is not encoded ...
Saher Al-Sous's user avatar
0 votes
1 answer
247 views

I'm using Spring Boot 2.7.9 to create a website along with Spring OAuth2 and Google Auth. When I try to access the site, I'm getting the above error. I've traced it back a bit, but would like to hear ...
Gary Kephart's user avatar
  • 5,014
0 votes
1 answer
536 views

I have to call an api which is only accessible via bunch of proxy server(set of servers are deployed and anyone can be active at give point of time ) . I am using following code to set the proxy to ...
Rajesh Rai's user avatar
1 vote
1 answer
1k views

I'm trying to implement OAuth2 authentication with Google in my Spring Boot Angular application, but I'm getting an "invalid_request" error with the message "client_secret is missing&...
Ciro Dolce's user avatar
2 votes
0 answers
2k views

I have read a lot about this topic but I have not found a solution to whether to replace what was used or create new methods or if there is a new dependency that can help me, referring to the ...
user19882964's user avatar
1 vote
1 answer
777 views

So basically, what I want is that following request: http://127.0.0.1:9000/oauth2/authorize?response_type=code&client_id=test-client&redirect_uri=http://127.0.0.1:8080/authorized&scope=...
Win32's user avatar
  • 159
0 votes
1 answer
779 views

I'm using spring 5.3.25. The Identity Provider implemented a security in authorization and token endpoint in OIDC such that the endpoints are expecting a certain request header value from the OIDC ...
SilverCode's user avatar
1 vote
3 answers
896 views

I started playing with Keycloak, but I have a question. While reading articles, I always found examples where a client (let's say Angular) is logging in on Keycloak, it gets a bearer and then it send ...
Flatron's user avatar
0 votes
1 answer
348 views

Input data: eureka (localhost:8761) spring boot cloud gateway service with keycloak (localhost:8765) developer resource service (localhost:8082) kecloak (localhost:8080) Keycloak: created realm ...
SergeBud's user avatar

1
2 3 4 5
63