Okta SAML SSO with Spring boot Microservice Architecture + Zuul Gateway

Hello Everyone,

We have implemented Okta SAML 2.0 SSO in our Microservice architecture project. When we have tried with one single service and SAML SSO working fine as expected But when we have tried with multiple services using Zuul gateway, it’s not working due to session not being maintained between different services.

Below properties in zuul service for routing


Also, we have no idea which serviceId we need to add in zuul.routes.saml.serviceId properties as we need SAML authentication in all service APIs. so we can’t write a single service.

Can anyone have an idea or guide us on how to configure SAML SSO with Zuul Gateway in Spring boot microservice architecture?

#spring #saml #sso #microservice #zuul