# Showing invalid credentials after login to okta

**URL:** <https://devforum.okta.com/t/showing-invalid-credentials-after-login-to-okta/28218>\
**Category:** Questions\
**Tags:** java, saml\
**Created:** [May 14, 2024, 9:04am UTC](https://devforum.okta.com/t/showing-invalid-credentials-after-login-to-okta/28218 "2024-05-14T09:04:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajaywani](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@ajaywani](https://devforum.okta.com/u/ajaywani)\
**Post date:** [May 14, 2024, 9:04am UTC](https://devforum.okta.com/t/showing-invalid-credentials-after-login-to-okta/28218/1 "2024-05-14T09:04:39Z")

</div>

I have used okta saml 2.0 and spring boot 3.My code runs perfect on local environment.but with same configuration and only changing required URLs when deployed on dev server,it shows invalid credentials after entering okta username and password and not redirects to required page.Pl help me.

---

<div class="post-metadata">

**Author:** ![krishna](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@krishna](https://devforum.okta.com/u/krishna)\
**Post date:** [May 16, 2024, 9:16am UTC](https://devforum.okta.com/t/showing-invalid-credentials-after-login-to-okta/28218/3 "2024-05-16T09:16:44Z")

</div>

Could you check the [OKTA system logs](https://help.okta.com/en-us/content/topics/reports/reports_syslog.htm) for any errors for that application you have configured?

You would also need to ensure that authentication policies, trusted origins, user access and other aspects are identical between your developer config and local config.

---

<div class="post-metadata">

**Author:** ![ajaywani](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@ajaywani](https://devforum.okta.com/u/ajaywani)\
**Post date:** [May 20, 2024, 12:18pm UTC](https://devforum.okta.com/t/showing-invalid-credentials-after-login-to-okta/28218/4 "2024-05-20T12:18:49Z")

</div>

Hello Madam,  
Thanks for the replying.issue what we noticed is in the SAML request,ACS and issuer url is going as http whereas we have set all url as https in okta dashboard.we have not set these ACS and issuer url anywhere in application.  
Pl suggest  
Thanks & Regards  
Ajay wani  
[Email-ajay.wani1986@gmail.com](mailto:Email-ajay.wani1986@gmail.com)

---

<div class="post-metadata">

**Author:** ![ajaywani](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@ajaywani](https://devforum.okta.com/u/ajaywani)\
**Post date:** [May 20, 2024, 12:25pm UTC](https://devforum.okta.com/t/showing-invalid-credentials-after-login-to-okta/28218/5 "2024-05-20T12:25:47Z")

</div>

In the spring boot logs it shows audience restriction validation issue.and in okta log in saml request this url is going as http and in okta account it is set as https

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [June 19, 2024, 12:26pm UTC](https://devforum.okta.com/t/showing-invalid-credentials-after-login-to-okta/28218/6 "2024-06-19T12:26:36Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
