Hey,
I wanted to know if someone can help me switch from Oauth (Authentik) to SAML via Microsoft?
I tried adding the settings and disabling the Oauth settings in the seahub_settings.py but then Seafile just wouldn’t start.
Is they anything else I have to do to get it to switch over?
Hi, aware that this is 2 years old but I just hit the same issue using SAML via Authentik. The reason was a 302-redirect on the metadata URL (in Authentik’s case https://authentik.tld/application/saml/{authentik_saml_provider_name}/metadata/) and pysaml2 doesn’t seem to follow it. In Authentik, using the direct API link works (e.g. https://authentik.tld/api/v3/providers/saml/{provider_id}/metadata/?download) but you could probably load this as local file from seafile in seahub_settings.py as well, knowing that upstream changes would need settings update as well.
Another reason you might hit this could be DNS or network resolution to the ADFS provider.