Hi There, I have issue related to “emailVerified” parameter inside “Profile” object callback inside “Auth0.authentication().userInfo” method.
Here’s my code:
Auth0.authentication().userInfo(token: credentials?.accessToken ?? "").start { (result) in
switch result {
case .success(let profile):
completion(profile)
case .failure(let error):
print("Failed with \(error)")
completion(nil)
}
In the dashboard (inside the user management section) I can track the status of email verification.
Before verification we’re have “pending” email status and after clicking on the link (attached in the email) - status changes to “verified”.
If I will call this method before verification - I will get false
value in profile. emailVerified
parameter.
After email verification in the dashboard, I can track email status and I see that status is changed to “verified”, but nothing changed in the profile, which is returned in function inside my application. It’s still false such as before verification.
I have iOS Auth0 SDK with 1.0 version