Asp.NET Identity 2 giving “Invalid Token” error

前端 未结 21 2010
情话喂你
情话喂你 2020-11-27 03:04

I\'m using Asp.Net-Identity-2 and I\'m trying to verify email verification code using the below method. But I am getting an \"Invalid Token\"

21条回答
  •  盖世英雄少女心
    2020-11-27 03:43

    My problem was that there was a typo in the email containing the ConfirmationToken:

    Please confirm your account by clicking here.

    This meant the extra apostrophe was appended to the end of the ConfirmationToken.

    D'oh!

提交回复
热议问题