Custom Tasklist application user authentication

We have to build a custom tasklist application for the users as we have to do a lot of customization on the BPM process flow diagram with custom images and tags.

For the tasklist authentication/authorization I can use the identity service. Wondering how I can integrate the security for user authentication similar to cockpit user authentication login?

@adat