oktadev / okta-spring-boot-saml-example

Spring Boot, SAML, and Okta
https://developer.okta.com/blog/2022/08/05/spring-boot-saml
Apache License 2.0
77 stars 57 forks source link

How to configure the urls with context path? #9

Closed mnagineni85 closed 5 years ago

mnagineni85 commented 5 years ago

How can we configure urls with context path in okta and also in Security configuration file.

Ex: https://localhost:8443/myapp/

Also, I am using Spring MVC which has regular spring security authentication using sql written in spring-security.xml.

Now, we want to support okta login for some of the users. Is it possible to do that?

mraible commented 5 years ago

If you have a context path, you just need to adjust your redirect URI on Okta to account for it. https://developer.okta.com/blog/2019/04/16/spring-boot-tomcat shows you how to do that.

For your other questions, can you please ask them on our developer forums? There will be more eyeballs on it if you post it there.