Coder Social home page Coder Social logo

Comments (1)

GTAtWork avatar GTAtWork commented on July 2, 2024

Hey @vdenotaris ,
thanks bunch for putting this sample together... helps me - and am sure many others - tremendously.

I too am required to integrate Okta (and OneLogin and Auth0) IdP-initiated SSO for our web app.

OneLogin and SSCircle works like a charm, but I'm experiencing error retrieving metadata that I'm guessing has to do with incorrectly configured IdP certificates for other two.
Punching https://dev-695900.oktapreview.com/app/<hide-my-entityID>/sso/saml/metadata url in any browser successfully returns the metadata xml.
I can bypass this issue by downloading it and using FilesystemMetadataProvider, but then of course SSO fails at runtime.

Now, Okta use to work up until few weeks ago and I'm working with their support team to figure out what, if anything, has changed on their end that might have cause the issue and will share the fundings.

In a meantime, I have downloaded and imported latest okta.cert from my oktapreview development account into samlKeystore.jks and am suspicious of way Okta's cert configured:

image

and what shows-up in the log:

: Attempting PKIX path validation on untrusted credential: [subjectName='CN=.oktapreview.com,OU=Technical Operations,O=Okta, Inc.,L=San Francisco,ST=California,C=US']
: PKIX path construction failed for untrusted credential: [subjectName='CN=
.oktapreview.com,OU=Technical Operations,O=Okta, Inc.,L=San Francisco,ST=California,C=US']: unable to find valid certification path to requested target
: Trust of untrusted credential could not be established via PKIX validation
: Error retrieving metadata from https://dev-695900.oktapreview.com/app/hide-my-entityID/sso/saml/metadata

Anything you can point out for me to look into very much appreciated.
Thanks
_GTM

from spring-boot-security-saml-sample.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.