Is it possible to retreive user password in a auth0 rule?
function (user, context, callback)
As rules receive the user, context objects neither of them have the password.
{
“clientID”: “123456789”,
“clientName”: “MyWebApp”,
“connection”: “MyDbConn”,
“connectionStrategy”: “auth0”,
“protocol”: “oidc-basic-profile”,
“request”: {
“query”: {
“scope”: “openid”
},
“body”: {
},
"userAgent": "Mozilla",
"ip": "X.X.X.X",
"geoip": {
"country_code": "AR",
"country_code3": "ARG",
"country_name": "Argentina",
"region": "08",
"city": "Federal",
"postal_code": "3180",
"latitude": -30.954599380493164,
"longitude": -58.78329849243164,
"continent_code": "SA",
"time_zone": "America"
}
},
“samlConfiguration”: {
},
“stats”: {
“loginsCount”: 5
},
“accessToken”: {
},
“idToken”: {
}
}
Should the password be be set in the database connection and retrieved in the rule?