I’m developing my first NativeScript app and I’m loving it so far! I am trying to figure out the best way to manage access to multiple APIs for a single user - think like a smart home sort of thing where I want to combine off-the-shelf hardware and services from different manufacturers under one umbrella. I need to manage permissions for various APIs depending on that user’s hardware collection, as well as their account with my own app.
I think a solution like Auth0 is right up my alley - it looks like they have support for adding multiple APIs and linking accounts between the same user, plus I think they support syncing up with Firebase for notifications. They don’t currently support the NativeScript SDK, but their website says support is on its way!
If you like the sound of that sort of feature, you should go to their site (https://auth0.com/authenticate/nativescript/auth0-oidc/) and give them a quick ‘thumbs up’ to say we want them to work on NativeScript!
In the meantime, can anyone suggest an alternative approach to managing this sort of case? I feel like I should avoid trying to simply store individual users’ tokens and other API authentication information in my own database, and I don’t want to fire off a zillion individual requests each time my user logs in to get new active tokens.
Any and all help would be appreciated.