context.user.getIdentity
(API ref). Let me know if this is not what you require.
https://mytenant.aazurewebsites.net/.auth/login/aad/callback
, and then a redirect to the url in post_login_redirect_uri
. i'll definitely need to call context.user.getIdentity
, but not sure where/how to do so after the POST and before the redirect?
var context = req.azureMobile;
var validateAuth = auth(context.configuration.auth);
// Validate api-key header against environment variable.
if(req.get('x-zumo-auth') !== undefined && validateAuth.validate(req.get('x-zumo-auth'))){