# \#spring

**URL:** https://devforum.okta.com/tag/spring/3.md

[Latest](https://devforum.okta.com/latest.md) · [Categories](https://devforum.okta.com/categories.md) · [Tags](https://devforum.okta.com/tags.md)

---

## [Okta Access Token - SpringBoot](https://devforum.okta.com/t/okta-access-token-springboot/34560)

<div class="topic-metadata">

**Author:** [@RakeshCarey](https://devforum.okta.com/u/RakeshCarey)\
**Replies:** 1\
**Last updated:** [November 6, 2025, 7:47pm UTC](https://devforum.okta.com/t/okta-access-token-springboot/34560 "2025-11-06T19:47:02Z")

</div>

Hi Team, I am working on POC and following the spring boot okta documents. I am able generate the access token from /default/v1/token. While validating on https://www.jwt.io/, getting success validation and updating…

---

## [Springboot okta hosted login page issue](https://devforum.okta.com/t/springboot-okta-hosted-login-page-issue/34060)

<div class="topic-metadata">

**Author:** [@prashshyam](https://devforum.okta.com/u/prashshyam)\
**Replies:** 5\
**Last updated:** [August 13, 2025, 10:34pm UTC](https://devforum.okta.com/t/springboot-okta-hosted-login-page-issue/34060 "2025-08-13T22:34:15Z")

</div>

Hi, I got the okta hosted login page working but now when am trying to sign in by giving the creds of my okta developer account but in the springboot logs am seeing multiple redirects happening and finally shows too\_man…

---

## [Okta with Springboot](https://devforum.okta.com/t/okta-with-springboot/34087)

<div class="topic-metadata">

**Author:** [@prashshyam](https://devforum.okta.com/u/prashshyam)\
**Replies:** 1\
**Last updated:** [August 9, 2025, 8:39pm UTC](https://devforum.okta.com/t/okta-with-springboot/34087 "2025-08-09T20:39:41Z")

</div>

Hi, I have a springboot with html/javascript app where springboot is serving both html content and backend API data as well..So its serving both front end and backend data…Now I want to integrate this app with okta..can…

---

## [API Access Management](https://devforum.okta.com/t/api-access-management/33946)

<div class="topic-metadata">

**Author:** [@brendan.jacobs](https://devforum.okta.com/u/brendan.jacobs)\
**Replies:** 1\
**Last updated:** [August 8, 2025, 4:35pm UTC](https://devforum.okta.com/t/api-access-management/33946 "2025-08-08T16:35:47Z")

</div>

I’m working on integrating Okta into a Spring Boot webapp + Angular webapp. I’ve got the primary login with username/password and code challenge working. That’s been fairly easy. However, I’ve had to use redirects via a …

---

## [Issuer with updating Okta user -- Okta SDK 21 SingtonUser](https://devforum.okta.com/t/issuer-with-updating-okta-user-okta-sdk-21-singtonuser/32973)

<div class="topic-metadata">

**Author:** [@HelpMeLearnOkta](https://devforum.okta.com/u/HelpMeLearnOkta)\
**Replies:** 1\
**Last updated:** [April 23, 2025, 11:00am UTC](https://devforum.okta.com/t/issuer-with-updating-okta-user-okta-sdk-21-singtonuser/32973 "2025-04-23T11:00:22Z")

</div>

We have a way for a user to update their profile – first and last name so forth. Our company is calling the Okta SDK – a wrapper for the API. Our code is going to do an update. First it calls the Okta get User. Then …

---

## [Help with custom login using spring boot and auth0 DB](https://devforum.okta.com/t/help-with-custom-login-using-spring-boot-and-auth0-db/32622)

<div class="topic-metadata">

**Author:** [@Wale](https://devforum.okta.com/u/Wale)\
**Replies:** 1\
**Last updated:** [March 26, 2025, 9:51pm UTC](https://devforum.okta.com/t/help-with-custom-login-using-spring-boot-and-auth0-db/32622 "2025-03-26T21:51:21Z")

</div>

Hi, I would appreciate some advice, and a guide on how I could implement my own custom login in spring boot (without using the okta sign in widget) while using auth0 user DB. So to elaborate, I want to delegate the stori…

---

## [Springboot get User Details in Security Context](https://devforum.okta.com/t/springboot-get-user-details-in-security-context/32708)

<div class="topic-metadata">

**Author:** [@c7b95dd9dce342d37d0f](https://devforum.okta.com/u/c7b95dd9dce342d37d0f)\
**Replies:** 0\
**Last updated:** [March 24, 2025, 2:58pm UTC](https://devforum.okta.com/t/springboot-get-user-details-in-security-context/32708 "2025-03-24T14:58:48Z")

</div>

Hi, As a follow-up to this post: Okta - Add User details&token info to security context - Questions - Okta Developer Community, I was just wondering if there’s a sample project which is able to retrieve user details in …

---

## [OKTA signin container is returned empty](https://devforum.okta.com/t/okta-signin-container-is-returned-empty/32102)

<div class="topic-metadata">

**Author:** [@Joshna](https://devforum.okta.com/u/Joshna)\
**Replies:** 0\
**Last updated:** [February 21, 2025, 12:10pm UTC](https://devforum.okta.com/t/okta-signin-container-is-returned-empty/32102 "2025-02-21T12:10:31Z")

</div>

we are trying to run some loginFlow tests in Java+SpringBoot which uses OKTA login and we retrieve login html page and trying to set password and username to the okta login elements. The initial URL we are attempting to…

---

## [Passing customer headers through an auth flow](https://devforum.okta.com/t/passing-customer-headers-through-an-auth-flow/32062)

<div class="topic-metadata">

**Author:** [@stevemaring](https://devforum.okta.com/u/stevemaring)\
**Replies:** 1\
**Last updated:** [February 21, 2025, 12:27pm UTC](https://devforum.okta.com/t/passing-customer-headers-through-an-auth-flow/32062 "2025-02-21T12:27:05Z")

</div>

I am using okta-spring-boot-starter 3.0.7 with spring-boot-starter-parent 3.4.2. The auth works fine. However, we would like to do a blue/green deployment within our application to test release candidates prior to swit…

---

## [Okta spring boot stater- using SPA- getting invalid credentials](https://devforum.okta.com/t/okta-spring-boot-stater-using-spa-getting-invalid-credentials/31740)

<div class="topic-metadata">

**Author:** [@swethamanjeri5121](https://devforum.okta.com/u/swethamanjeri5121)\
**Replies:** 5\
**Last updated:** [January 21, 2025, 8:10pm UTC](https://devforum.okta.com/t/okta-spring-boot-stater-using-spa-getting-invalid-credentials/31740 "2025-01-21T20:10:33Z")

</div>

Hi Team, I am using okta spring boot stater 3.0.7 my okta app is SPA when I run locally am able hit the /token end point fine and I get response perfectly fine But when I run same application in TKG, while hitting th…

---

## [OAuth2 JWT assertion - 401 unauthorized](https://devforum.okta.com/t/oauth2-jwt-assertion-401-unauthorized/31450)

<div class="topic-metadata">

**Author:** [@mcduser999](https://devforum.okta.com/u/mcduser999)\
**Replies:** 1\
**Last updated:** [December 13, 2024, 3:31pm UTC](https://devforum.okta.com/t/oauth2-jwt-assertion-401-unauthorized/31450 "2024-12-13T15:31:29Z")

</div>

Hello! I’m having some trouble getting JWT assertions to work in a Spring Boot application for an Okta Open ID application integration. Note the Spring Boot app works with this same OKTA application using client secret…

---

## [Okta-spring-boot-starter WebClient configuration](https://devforum.okta.com/t/okta-spring-boot-starter-webclient-configuration/31340)

<div class="topic-metadata">

**Author:** [@adam.gardner](https://devforum.okta.com/u/adam.gardner)\
**Replies:** 0\
**Last updated:** [November 28, 2024, 2:06am UTC](https://devforum.okta.com/t/okta-spring-boot-starter-webclient-configuration/31340 "2024-11-28T02:06:30Z")

</div>

We’re using the okta-spring-boot-starter package in a Reactive application with Netty as the underlying HTTP library. The application is deployed to AWS EKS, behind a NAT Gateway. NAT Gateways drop idle connections after…

---

## [Getting invalid credentials error from application running in EKS using nginx ingress](https://devforum.okta.com/t/getting-invalid-credentials-error-from-application-running-in-eks-using-nginx-ingress/31083)

<div class="topic-metadata">

**Author:** [@chaitanya.v.baindur](https://devforum.okta.com/u/chaitanya.v.baindur)\
**Replies:** 1\
**Last updated:** [November 18, 2024, 8:36am UTC](https://devforum.okta.com/t/getting-invalid-credentials-error-from-application-running-in-eks-using-nginx-ingress/31083 "2024-11-18T08:36:28Z")

</div>

Hello, I have deployed my spring boot application in EKS and I am using nginx ingress. I am getting invalid credentials after logging in. The application works fine from Linux VM or in EC2. Kindly advise. Sincerely, …

---

## [No converter found capable of converting from type \[com.google.protobuf.ByteString$LiteralByteString\] to type \[java.lang.String\]](https://devforum.okta.com/t/no-converter-found-capable-of-converting-from-type-com-google-protobuf-bytestring-literalbytestring-to-type-java-lang-string/31041)

<div class="topic-metadata">

**Author:** [@Wale](https://devforum.okta.com/u/Wale)\
**Replies:** 1\
**Last updated:** [November 18, 2024, 8:34am UTC](https://devforum.okta.com/t/no-converter-found-capable-of-converting-from-type-com-google-protobuf-bytestring-literalbytestring-to-type-java-lang-string/31041 "2024-11-18T08:34:46Z")

</div>

Currently running into an issue while trying to use GCP secret manager to hide okta-client-id and secret within the application.properties. The error as seen in the title reads ‘No converter found capable of converting f…

---

## [Cannot build spring-boot maven project](https://devforum.okta.com/t/cannot-build-spring-boot-maven-project/31079)

<div class="topic-metadata">

**Author:** [@doaafarouk](https://devforum.okta.com/u/doaafarouk)\
**Replies:** 1\
**Last updated:** [October 31, 2024, 2:19pm UTC](https://devforum.okta.com/t/cannot-build-spring-boot-maven-project/31079 "2024-10-31T14:19:41Z")

</div>

I’m following below tutorial, to create my first oauth0 spring-boot application: I added the following dependency to the application: \<dependency\> \<groupId\>com.okta\</groupId\> \<artifactId\>okta-spring-boot-starter\<…

---

## [The web application jumps to the okta login page and reports 400 after login](https://devforum.okta.com/t/the-web-application-jumps-to-the-okta-login-page-and-reports-400-after-login/30453)

<div class="topic-metadata">

**Author:** [@lsp](https://devforum.okta.com/u/lsp)\
**Replies:** 1\
**Last updated:** [October 2, 2024, 6:07am UTC](https://devforum.okta.com/t/the-web-application-jumps-to-the-okta-login-page-and-reports-400-after-login/30453 "2024-10-02T06:07:20Z")

</div>

I want to use springboot to integrate okta’s OIDC to achieve single sign-on, and obtain some information of login users and accessToken from my springboot project to complete business requirements. However, after I build…

---

## [Okta SAML Signature Validation - now working](https://devforum.okta.com/t/okta-saml-signature-validation-now-working/30535)

<div class="topic-metadata">

**Author:** [@jridge](https://devforum.okta.com/u/jridge)\
**Replies:** 1\
**Last updated:** [September 27, 2024, 6:10am UTC](https://devforum.okta.com/t/okta-saml-signature-validation-now-working/30535 "2024-09-27T06:10:26Z")

</div>

After a significant amount of effort we finally managed to successfully enable the Okta SAML “Signed Requests” flag. It turned out that for us the problem was somewhat related to the example SAML client we used to act …

---

## [Redirect url issue spring boot](https://devforum.okta.com/t/redirect-url-issue-spring-boot/30690)

<div class="topic-metadata">

**Author:** [@vinaythepreast1](https://devforum.okta.com/u/vinaythepreast1)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 8:17pm UTC](https://devforum.okta.com/t/redirect-url-issue-spring-boot/30690 "2024-09-25T20:17:33Z")

</div>

I have configured okta in my spring boot and my redirect url is set as Okta.redirect-uri:/okta-login/okta/callback It is working fine in localhost But when i deploy my spring boot app to my domain https:carnationit:84…

---

## [How to refresh google token](https://devforum.okta.com/t/how-to-refresh-google-token/30608)

<div class="topic-metadata">

**Author:** [@vinaythepreast1](https://devforum.okta.com/u/vinaythepreast1)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 6:14pm UTC](https://devforum.okta.com/t/how-to-refresh-google-token/30608 "2024-09-25T18:14:16Z")

</div>

Hi , I have implemented google as an external idenetity provider in okta . And i am able to get both okta and google token. But my google token expires in every 1 hour how to make this seamless since okta does not provid…

---

## [What is the proper way to secure the backend API for an SPA?](https://devforum.okta.com/t/what-is-the-proper-way-to-secure-the-backend-api-for-an-spa/30130)

<div class="topic-metadata">

**Author:** [@lcharbon](https://devforum.okta.com/u/lcharbon)\
**Replies:** 1\
**Last updated:** [September 6, 2024, 11:20am UTC](https://devforum.okta.com/t/what-is-the-proper-way-to-secure-the-backend-api-for-an-spa/30130 "2024-09-06T11:20:03Z")

</div>

Originally, I created an API and followed these two articles to authorize usage of the API on SpringBoot. The work was done/tested, all was well. Example controller method @GetMapping(“/users”) public void getData…

---

## [Can't get "groups" claim in Spring Boot OIDC app](https://devforum.okta.com/t/cant-get-groups-claim-in-spring-boot-oidc-app/29901)

<div class="topic-metadata">

**Author:** [@mnd](https://devforum.okta.com/u/mnd)\
**Replies:** 1\
**Last updated:** [August 15, 2024, 9:03pm UTC](https://devforum.okta.com/t/cant-get-groups-claim-in-spring-boot-oidc-app/29901 "2024-08-15T21:03:09Z")

</div>

I have a Spring Boot app that is using the Okta starter, and unable to get the “groups” claim for a user once they authenticate. Here’s my setup: I have an Okta application created that includes the following in the “Op…

---

## [Missing clientId with authorization\_code flow in thymeleaf project](https://devforum.okta.com/t/missing-clientid-with-authorization-code-flow-in-thymeleaf-project/29518)

<div class="topic-metadata">

**Author:** [@ferlaymat](https://devforum.okta.com/u/ferlaymat)\
**Replies:** 4\
**Last updated:** [August 6, 2024, 6:32pm UTC](https://devforum.okta.com/t/missing-clientid-with-authorization-code-flow-in-thymeleaf-project/29518 "2024-08-06T18:32:52Z")

</div>

Hi all, I’m using the following dependency: com.okta.spring okta-spring-boot-starter 3.0.7 and I try to apply authorization\_code flow. I have managed to call the server and…

---

## [Not able to logout from Spring Oauth2 client integrated with Okta](https://devforum.okta.com/t/not-able-to-logout-from-spring-oauth2-client-integrated-with-okta/29677)

<div class="topic-metadata">

**Author:** [@Nelson](https://devforum.okta.com/u/Nelson)\
**Replies:** 1\
**Last updated:** [July 29, 2024, 4:50pm UTC](https://devforum.okta.com/t/not-able-to-logout-from-spring-oauth2-client-integrated-with-okta/29677 "2024-07-29T16:50:50Z")

</div>

I have a spring web app integrated with Okta. I am not able to logout from my web app. My code config is as below: @Bean public OidcClientInitiatedLogoutSuccessHandler oidcLogoutSuccessHandler(ClientRegistrationReposit…

---

## [Not able to integrate Springboot web app with Okta](https://devforum.okta.com/t/not-able-to-integrate-springboot-web-app-with-okta/29620)

<div class="topic-metadata">

**Author:** [@Nelson](https://devforum.okta.com/u/Nelson)\
**Replies:** 1\
**Last updated:** [July 26, 2024, 11:33am UTC](https://devforum.okta.com/t/not-able-to-integrate-springboot-web-app-with-okta/29620 "2024-07-26T11:33:28Z")

</div>

I have a springboot v2.7.18 app with the below okta dependencies: com.okta.spring okta-spring-sdk 3.0.6 com.okta.spring okta-spring-security-oauth2 3.0.6 Added the below into my application.properties okt…

---

## [Spring Boot 3 with Okta - permit to /actuator/health endpoint](https://devforum.okta.com/t/spring-boot-3-with-okta-permit-to-actuator-health-endpoint/29332)

<div class="topic-metadata">

**Author:** [@attila.boros](https://devforum.okta.com/u/attila.boros)\
**Replies:** 2\
**Last updated:** [July 17, 2024, 9:49am UTC](https://devforum.okta.com/t/spring-boot-3-with-okta-permit-to-actuator-health-endpoint/29332 "2024-07-17T09:49:16Z")

</div>

I’m curious is there any way to allow access to /actuator/health without Okta authentication? In my spring application, I set the following security filter chain but it seems not working: @Bean public SecurityFilterCh…

---

## [Unable to find SSO/SAML user by email using Okta SDK on login](https://devforum.okta.com/t/unable-to-find-sso-saml-user-by-email-using-okta-sdk-on-login/29249)

<div class="topic-metadata">

**Author:** [@dan-viso](https://devforum.okta.com/u/dan-viso)\
**Replies:** 1\
**Last updated:** [July 11, 2024, 4:01am UTC](https://devforum.okta.com/t/unable-to-find-sso-saml-user-by-email-using-okta-sdk-on-login/29249 "2024-07-11T04:01:19Z")

</div>

When a new user logs into our webapp, we use the Okta SDK to assign them a role in Okta based on some business logic. First, the user is provisioned in our customer’s IDP. When they log in, we use JIT to create that use…

---

## [Is okta sdk java 8.2.5 compatible with bcprov-jdk18on vs bcpkix-jdk18on 1.78 (in 8.2.5 is 1.7.5)](https://devforum.okta.com/t/is-okta-sdk-java-8-2-5-compatible-with-bcprov-jdk18on-vs-bcpkix-jdk18on-1-78-in-8-2-5-is-1-7-5/28904)

<div class="topic-metadata">

**Author:** [@\_frankie](https://devforum.okta.com/u/_frankie)\
**Replies:** 2\
**Last updated:** [July 11, 2024, 2:18am UTC](https://devforum.okta.com/t/is-okta-sdk-java-8-2-5-compatible-with-bcprov-jdk18on-vs-bcpkix-jdk18on-1-78-in-8-2-5-is-1-7-5/28904 "2024-07-11T02:18:08Z")

</div>

We’re using okta-sdk-impl in spring boot project After we scan my project and found some vulnerability need to upgrade bcprov-jdk18on vs bcpkix-jdk18on 1.78 We don’t want to upgrade okta version and we force upgrade b…

---

## [Facing issue from a long time](https://devforum.okta.com/t/facing-issue-from-a-long-time/25853)

<div class="topic-metadata">

**Author:** [@Shreyansh](https://devforum.okta.com/u/Shreyansh)\
**Replies:** 1\
**Last updated:** [June 5, 2024, 11:56am UTC](https://devforum.okta.com/t/facing-issue-from-a-long-time/25853 "2024-06-05T11:56:49Z")

</div>

I created an okta developer account, and now i am trying to use it to secure my spring boot application , but i am facing issue that is ironmentPostProcessorApplicationListener : Your Okta Issuer URL is missing. what sh…

---

## [Issue while logout](https://devforum.okta.com/t/issue-while-logout/28361)

<div class="topic-metadata">

**Author:** [@ajaywani](https://devforum.okta.com/u/ajaywani)\
**Replies:** 4\
**Last updated:** [May 29, 2024, 12:31pm UTC](https://devforum.okta.com/t/issue-while-logout/28361 "2024-05-29T12:31:43Z")

</div>

Hi, I am using Spring boot 3 and Okta saml 2.0.for the logout i have given Post call from angular frontend using and in spring boot OktaSecurityConfiguration used http.saml2Logout(Customizer.withDefaults()).The problem…

---

## [How to send token authentication to backend using okta and standalone Angular and SpringBoot 3 login widget](https://devforum.okta.com/t/how-to-send-token-authentication-to-backend-using-okta-and-standalone-angular-and-springboot-3-login-widget/28121)

<div class="topic-metadata">

**Author:** [@shirukento1](https://devforum.okta.com/u/shirukento1)\
**Replies:** 2\
**Last updated:** [May 24, 2024, 3:44pm UTC](https://devforum.okta.com/t/how-to-send-token-authentication-to-backend-using-okta-and-standalone-angular-and-springboot-3-login-widget/28121 "2024-05-24T15:44:48Z")

</div>

Below is my code on how to send authentication to Spring boot side but I get an error that cannot be sent, can someone help me? auth-interceptor.service.ts @Injectable({ providedIn: ‘root’ }) export class AuthInterc…

[Next page](https://devforum.okta.com/tag/spring/3.md?match_all_tags=true&page=1&tags%5B%5D=spring)
