How to implement LDAP and OTP authentication for Mobile and PWA using Auth Service with a single middleware?

I have two frontend applications — a mobile app and a PWA built with Angular. I need to implement user authentication for both using an Auth Service and a single middleware. Authentication on mobile will be done using LDAP, while the PWA will use OTP-based authentication. How can I achieve this?

1 Like