API find email address, or search?

That route should still work (just tested it).

For SSO you could also use by-external.
See Discourse API Docs