question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"SAML configuration not found." when using 'preLoadedConfig'

See original GitHub issue

Issue Summary

Got the error “SAML configuration not found.” when initiating the SAML request. Note, I’m using the pre-loaded SAML config options.

Steps to Reproduce

  1. Created a new express app
  2. Added the express routes as per the doc
  3. Pre-loaded one Idp metadata (Create 2 files abc.js and abc.xml)
  4. Added the correct pre-loaded config path (I can confirm Jackson could access the file)
  5. Visited the following URL

http://localhost:3000/sso/oauth/authorize?response_type=code&provider=saml&client_id=abc&redirect_uri=http://localhost:3000/sso/oauth/completed&state=1234

Notes

I think oauth.authorize() method is not considering the preLoadedConfig

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
devkirancommented, Nov 27, 2021

Thanks.

1reaction
devkirancommented, Nov 27, 2021

Yes, worked. We have to URL encoded tenant=abc.com&product=crm. That part is not mentioned in the doc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot SAML Configurations - Auth0
Describes troubleshooting for SAML configuration issues. ... If these are missing or empty, Auth0 treats the login as IdP-initiated.
Read more >
Troubleshoot issues with SAML configuration
If configuring Security Assertion Markup Language (SAML) authentication fails, you can manually repair each node on which the SAML configuration ...
Read more >
Error AADSTS70001 - Application with Identifier was not found ...
Describes a problem in which you receive the error AADSTS70001 when you sign in to SAML sign-on configured app with Azure Active Directory....
Read more >
SAML response is invalid or matching user is not found
The above error is a generic message and could be seen due to misconfigurations either at the identity provider end or at the...
Read more >
Troubleshoot SAML authorization errors - Slack
SAML errors usually occur when there's missing or incorrect information entered during your SAML setup. You can resolve most of these issues from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found