Hi @ArkasDev - I was having the same issue as you, while I have not tried the above solution, I did get something to work for me. Basically if you pass what you need as an extra query param in your /authorize endpoint, you can access that value from within a post login action and set the user metadata like this:
exports.onExecutePostLogin = async (event, api) => {
if (event.connection.strategy === event.connection.name && event.stats.logins_count === 1) {
api.user.setUserMetadata(“mobile_phone”, event.request.query[‘mobilePhone’]);
}
};
For me it was mobile phone. Hope this helps