[keycloak-user] [JBoss JIRA] (KEYCLOAK-2063) Not working link generated via REST API - Send an email-verification email to the user
Stian Thorgersen
sthorger at redhat.com
Tue Dec 22 02:38:47 EST 2015
I'm still struggling to read what you are saying..
Are you saying that when you use the "send-verify-email" endpoint the
subject of the email is "Verify email" and when you use the
"execute-actions-email" the subject is "Update Your Account"? If so I think
that's the wanted behavior. "execute-actions-email" allows a user to
perform one or more actions.
On 21 December 2015 at 16:31, Andrej Prievalsky <ado.boj.83 at gmail.com>
wrote:
> So I would like to clarify it:
>
> In version 1.6.1.Final was Sending verify email done via REST-API:
> PUT
> http://172.31.32.216:8080/auth/admin/realms/universities/users/3cb6d892-8df8-45bf-a336-9ddbce1c56d0/send-verify-email
> Here was JIRA ticket 2063 created (missing code in verify link)
> http://172.31.32.216:8080/auth/realms/universities/login-actions/email-verification?key=lJOE7feTo8VNfmy0OyYpowIT3yMUcJmsY9_QaV2Bd7k.160f1a4f-5f8e-4105-a4d3-0914bb890ed2
>
> In actual version 1.7.0.Final, when I check same REST-API:
> PUT
> http://172.31.32.216:8080/auth/admin/realms/universities/users/0ee34d46-6d3f-4274-8aea-268bf3560e4c/send-verify-email
> I got verification email with Subject "Update Your Account" are running
> verification link
>
> http://172.31.32.216:8080/auth/realms/universities/login-actions/execute-actions?key=KRRUrLQD8RrIqu-QbCh3i5TUwH9Bbbtu9CPpOdHwlG0.fce4040e-945f-4fb9-9ea1-e744cb61a022
>
> But same verification email in 1.7.0.Final I am getting with different
> REST_API:
> PUT
> http://172.31.32.216:8080/auth/admin/realms/universities/users/0ee34d46-6d3f-4274-8aea-268bf3560e4c/execute-actions-email
> with body ["VERIFY_EMAIL"]
>
> In summary:
>
> Now both REST-APIs works fine in version 1.7.0.Final.
> But my question is: shouldn't be different verification email in subject
> and in link for first REST_API:
> http://172.31.32.216:8080/auth/realms/universities/login-actions/execute-actions?key=KRRUrLQD8RrIqu-QbCh3i5TUwH9Bbbtu9CPpOdHwlG0.fce4040e-945f-4fb9-9ea1-e744cb61a022
> and second REST-API: PUT
> http://172.31.32.216:8080/auth/admin/realms/universities/users/0ee34d46-6d3f-4274-8aea-268bf3560e4c/execute-actions-email
> with body ["VERIFY_EMAIL"]?
> Because when I do this two operation via GUI I got different verification
> emails in subject and link. First one is with subject Verify email and
> second one is Update Your Account.
>
>
>
> On Thu, Dec 17, 2015 at 10:45 AM, Stian Thorgersen <sthorger at redhat.com>
> wrote:
>
>> I don't understand what you are saying here. Can you please reformulate
>> the question?
>>
>> On 11 December 2015 at 10:55, Andrej Prievalsky <ado.boj.83 at gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I tried to validate this issue on 1.7.0.Final, but I have question:
>>>
>>> After send two different REST-APIs:
>>> 1.) PUT
>>> http://172.31.32.216:8080/auth/admin/realms/universities/users/0ee34d46-6d3f-4274-8aea-268bf3560e4c/send-verify-email
>>> and
>>> 2.) PUT
>>> http://172.31.32.216:8080/auth/admin/realms/universities/users/0ee34d46-6d3f-4274-8aea-268bf3560e4c/execute-actions-email
>>> with body ["VERIFY_EMAIL"]
>>>
>>> I got for both REST APIs email with Subject "Update Your Account" and
>>> link generated in email:
>>>
>>>
>>> http://172.31.32.216:8080/auth/realms/universities/login-actions/execute-actions?key=KRRUrLQD8RrIqu-QbCh3i5TUwH9Bbbtu9CPpOdHwlG0.fce4040e-945f-4fb9-9ea1-e744cb61a022
>>>
>>> What is in different when I generate Verify Email via GUI
>>> when Subject is "Verify email" and link generated in email:
>>>
>>>
>>> http://172.31.32.216:8080/auth/realms/universities/login-actions/email-verification?code=2sdgs_wvS8kR1MMpzj6DrIVnqdyaY76zyCJ_Mga4dio.b6957365-eacc-4a23-8079-adbd88554b23&key=DT4mpFcMC5
>>>
>>>
>>> Should it be so now correct or something was changed or something is
>>> incorrect on my side?
>>>
>>> Thanks.
>>>
>>>
>>>
>>>
>>> On Mon, Nov 30, 2015 at 1:18 PM, Stian Thorgersen (JIRA) <
>>> issues at jboss.org> wrote:
>>>
>>>> Stian Thorgersen
>>>> <https://issues.jboss.org/secure/ViewProfile.jspa?name=stianst>
>>>> *updated* [image: Bug] KEYCLOAK-2063
>>>> <https://issues.jboss.org/browse/KEYCLOAK-2063> Keycloak
>>>> <https://issues.jboss.org/browse/KEYCLOAK> / [image: Bug]
>>>> <https://issues.jboss.org/browse/KEYCLOAK-2063> KEYCLOAK-2063
>>>> <https://issues.jboss.org/browse/KEYCLOAK-2063> Not working link
>>>> generated via REST API - Send an email-verification email to the user
>>>> <https://issues.jboss.org/browse/KEYCLOAK-2063> Change By: Stian
>>>> Thorgersen
>>>> <https://issues.jboss.org/secure/ViewProfile.jspa?name=stianst> Status:
>>>> Pull Request Sent Resolved Resolution: Done [image: Add Comment]
>>>> <https://issues.jboss.org/browse/KEYCLOAK-2063#add-comment> Add Comment
>>>> <https://issues.jboss.org/browse/KEYCLOAK-2063#add-comment> This
>>>> message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) [image:
>>>> Atlassian logo]
>>>>
>>>
>>>
>>> _______________________________________________
>>> keycloak-user mailing list
>>> keycloak-user at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151222/c6a036fc/attachment-0001.html
More information about the keycloak-user
mailing list