using custom database with roles in identity server 4
<p>I am working on an application where I need to setup identity server 4. I have an api as resource. and a web forms application as client.I have few roles like teachers, students, parents in my database. How can I use this custom database and perform authentication and authorization without using identity?</p>

<p>Please suggest.</p>