Customized login auth plugin

Yes, that’s a way to do it.

But for me there is no the “external application” now, so I’m wondering which one is simpler

  1. Build an external app connect to database, and build the SSO part
  2. Build an discourse plugin connect to database for authentication