Hi Sumedha
A typical use-case would be a single page application that has no signup page, but with an Admin account that creates new users and manages them from the client GUI. Users then can login and edit their profile (Custom User Data) also users can change their email and password that simple.
I was expecting something like in Firebase functions one can use the context of the method to manage user like creating a new User like so
const user = await admin.auth().createUser(newUserData);
The Admin API if I can use them from client side that would require an API key pair each time so like when an Admin will login I will need an Authentication Trigger to check if the user has an Admin role and somehow create a new API key pair and attach it to the user response is that right
.
The third case you suggested sounds promising using custom realm functions for each CRUD operation with the context.http to call the Admin API endpoints, but how will I programmatically renew/create API key pair to use in the methods .
Thank you for help