FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. eddie.whiteside
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    eddie.whiteside

    @eddie.whiteside

    0
    Reputation
    3
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    eddie.whiteside Unfollow Follow

    Latest posts made by eddie.whiteside

    • RE: No email verification if user created without an email

      I do have a workaround. If I update the user twice when there is no current email (first time with a random address and the second time with the intended address) then the user reaches the desired state and the verification email is sent.

      posted in Q&A
      E
      eddie.whiteside
    • No email verification if user created without an email

      Hi,

      Don't know if I'm doing something wrong or if there is a reason for this but I've come across a possible issue.

      I have my tenant setup to verify email and verify email on change. If I create a user with no email through the API i.e.

      
      POST api/user
      {
      	"sendSetPasswordEmail": false,
      	"user": {
      		"password": "pass",
      		"username": "uniqueName"
      	}
      }
      

      Then update the users email email:

      PATCH api/user/{id}
      {
      	"user": {
      		"email": "me@example.com"
      	}
      }
      

      The response comes back showing the user as verified (and no email is received):

      {
          "user": {
              "active": true,
              ...
              "verified": true
          }
      }
      

      If I repeat the process but insert an email on the initial post then the subsequent PATCH triggers the email and sets verified to false.

      This is a flow that we would find extremely useful in our sign-up process as we do not expect users to set-up their email before we create their identity in fusion.

      Let me know if there is a workaround for this or whether I should raise a bug report.

      Many thanks,

      Eddie

      posted in Q&A
      E
      eddie.whiteside