hanko icon indicating copy to clipboard operation
hanko copied to clipboard

[FEAT]: Do not panic if getting SAML metadatdata fails

Open FreddyDevelop opened this issue 10 months ago • 2 comments

Checklist

  • [X] I could not find a solution in the existing issues or docs.
  • [X] I agree to follow this project's Code of Conduct.

Description

Currently Hanko gets metadata for all SAML connections on startup and when a call to a metadata endpoint fails (e.g. http code > 400, wrong response body) Hanko won't start.

Describe your ideal solution

Hanko should show a warning in the logs when it fails to get SAML metadata, but should start anyway.

Workarounds or alternatives

No response

Hanko Version

v0.10.2

Additional Context

No response

FreddyDevelop avatar Apr 23 '24 14:04 FreddyDevelop

So we want to ignore that provider after the warning?

shentschel avatar May 17 '24 09:05 shentschel

So we want to ignore that provider after the warning?

Yes

FreddyDevelop avatar May 17 '24 09:05 FreddyDevelop