Integration of Okta Saml 2.0 with Structurizr onpremises application #142
Replies: 5 comments 9 replies
-
I copied the example Okta configuration from the docs and it worked first time -> https://docs.structurizr.com/onpremises/authentication/saml (my on-premises installation is running at http://localhost:8080 ... I would try that first before introducing more variables) |
Beta Was this translation helpful? Give feedback.
-
I'm also experiencing similar issues. I would advise following https://docs.structurizr.com/onpremises/configuration#logging for enhanced logging, but in particular set
The key part of that above seems to be:
Looking at the relevant fragment SAML response (you can grab this out of the Chrome Network tab, it is in the form data payload POSTed to
"AudienceRestriction of type 'null'" seems a bit suspicious to me. There is this link https://support.okta.com/help/s/question/0D54z00007IX1aTCAT/saml2-signing-audiencerestriction-of-type-null-in-assertion which suggests:
But I'm not sure how to set that in structurizr/Spring SAML - or maybe that is what should go into Okta itself? |
Beta Was this translation helpful? Give feedback.
-
Ok I got farther with my attempt at Okta integration. I ensured that Now my error is essentially
This StackOverflow question suggests that it is a problem with the port number. Okta allows you to set either Single Signon URL (e.g. |
Beta Was this translation helpful? Give feedback.
-
GOT IT! In Okta, the |
Beta Was this translation helpful? Give feedback.
-
I am also getting this error when login successfully and creating a workspace. |
Beta Was this translation helpful? Give feedback.
-
I would like to know how to integrate Okta Saml 2.0 into the application using the structurizr property file. Right now I am facing issues after integration and it says invalid credentials and sometimes it just gives me a blank page, which means it is not redirecting to the dashboard after signing in.
Error:- Invalid destination [{structurizr.url}/login/saml2/sso] for SAML response [id5232169254467101793067833]
This is the below configuration example which I am currently using
structurizr.authentication=saml
structurizr.saml.metadata=https://dev-05937739.okta.com/app/exk46xofd8NZvFCpS5d7/sso/saml/metadata
structurizr.saml.attribute.username=email
structurizr.saml.signing.certificate=certificate.crt
and my reply URL is {structurizr.url}/login/saml2/sso and docker image I am using structurizr/onpremises:2024.06.25
Is there any other property for Saml like okta URL, SSO URL, Signout URL, etc..
Beta Was this translation helpful? Give feedback.
All reactions