Dear Krzysztof,
On 23/03/17 23:55, Krzysztof Benedyczak wrote:
> Dear Willem,
>
> W dniu 23.03.2017 o 14:00, Willem Elbers pisze:
>> Dear Krysztof,
>>
>> we've recently encountered an issue where a user clicked the link in the
>> email confirmation email. However, the entity within unity-idm wasn't
>> updated and still showed "[confirmation request sent]" in the entity
>> details.
>
> Do you have any more information? There was some problem shown on the
> confirmation page? Maybe the link has expired?
>
Unfortunately not. The user got the activation successful message and I
didn't find any exceptions in the log file. The link was clicked within
90 minutes after account creation, so I doubt it was expired.
>>
>> is it possible to resend the email verification link?
>>
>> (we've removed the entity for now and after recreating it, everything
>> worked as expected)
>
> Yes it is. You can easily trigger this using REST API:
>
> @Path("/confirmation-trigger/identity/{type}/{value}")
> @POST
>
> Triggers sending of confirmation message of identity. Nearly always it
> is a re-send.
>
> @Path("/confirmation-trigger/entity/{entityId}/attribute/{attributeName}")
>
> @QueryParam("group")
> @QueryParam("identityType")
> @POST
>
> Triggers sending of confirmation message for an attribute. Nearly
> always it is a re-send.
Ok thanks. I was hoping for an easy way to do this from the UI.
>
>
> What is more you can quite easily force unity to re-send email
> *attribute* confirmation from Admin UI: edit the attribute, set is a
> confirmed, save, edit again and set back to not-confirmed state.
> It is hard to do this for identity. You can remove identity (removing
> the whole entity is rather too brutal ;) and re-add it. However this
> may loose some context (e.g. metadata of identity real origin).
While testing this can work, for real user accounts this is not really a
nice work around.
>
> Cheers,
> Krzysztof
Best,
Willem
--
Willem Elbers
CLARIN ERIC
www.clarin.eu | tel: +31-(0)85-0091277 | skype: wjm.elbers
|