How can I authenticate against Wix User database from an external app

I have already developed an an external native mobile App. I’m looking for a solution that would allow the login process to call an authentication api in WIX and this would return a form of access token that can be used in subsequent request to continue to query the WIX data base for user information

The goal is to have the users base maintained in the WIX CRM while they can use the mobile app via authorised api calls