https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40596
--- Comment #25 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 195116 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195116&action=edit Bug 40596: Migrate C4::Auth_with_cas to use identity providers Removes the legacy YAML file and casServerUrl/casServerVersion syspref lookups. All CAS server configuration is now read from the identity_providers table via Koha::Auth::Identity::Providers. Key changes: - multipleAuth() and getMultipleAuth() query enabled CAS providers from the database instead of reading Auth_cas_servers.yaml. - login_cas_url(), login_cas(), and checkpw_cas() look up the provider by code; the provider code is encoded into the CAS service URL as cas_provider=<code> so it is echoed back with the ticket redirect. - logout_cas() accepts an optional provider code parameter; the CAS protocol version is read from the provider's config rather than the casServerVersion system preference. - check_api_auth_cas() uses the same provider lookup for proxy tickets. - Private helper _get_cas_provider() resolves a provider by code or returns the first enabled CAS provider as a default. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
