Hi
I didn't test this code but maybe its wanna working
https://github.com/cchaconXms/xmsbs.ldapservice
this is just my attitude you can don't agree with me.
authentication and authorization in DotNetFramework was rely more flexible than DotNetCore i was create SSO with LDAP and PKE passive key less entry and public key enabled in one solution but making Auth services in dot net core just tortured me but at last I made my own SSO and still love dot net framework Authority.
best regards AJ.