I agree. However, "send-verify-email" is deprecated and we'll eventually
remove it. It doesn't work with custom required actions so execute-actions
is the preferred usage.
On 22 December 2015 at 13:31, Andrej Prievalsky <ado.boj.83(a)gmail.com>
wrote:
Yes, I agree, too, that this 2 actions via Admin Console for
"Verify
email" and "Update your account" are different and works fine.
I think, that Issue is with API endpoint "send-verify-email" :
- Mistake behavior:
verification email with subject "Update Your Account" and verification
link:
http://172.31.32.216:8080/auth/realms/universities/login-actions/execute-...
- Correct behavior:
verification email with subject "Verify email" and verification link:
http://172.31.32.216:8080/auth/realms/universities/login-actions/email-ve...
DT4mpFcMC5
<
http://172.31.32.216:8080/auth/realms/universities/login-actions/email-ve...
Am I right or should both API endpoints "send-verify-email" and
"execute-actions-email"
afinished with subject "Update Your Account". ?
On Tue, Dec 22, 2015 at 1:15 PM, Stian Thorgersen <sthorger(a)redhat.com>
wrote:
> I think that's fine. If user logs in and gets required action it has the
> subject "Verify email", then if admin manually requests the user to
perform
> actions it has "Update your account".
>
> On 22 December 2015 at 13:11, Andrej Prievalsky <ado.boj.83(a)gmail.com>
> wrote:
>
>> Yes I mean Admin console as GUI, when user before had Email verified:
>> OFF and I made this action via Required User Actions
>>
>> On Tue, Dec 22, 2015 at 11:24 AM, Stian Thorgersen <sthorger(a)redhat.com>
>> wrote:
>>
>>> What do you mean about via GUI? Is it with verify email enabled, or
>>> manually through admin console?
>>>
>>> On 22 December 2015 at 11:12, Andrej Prievalsky <ado.boj.83(a)gmail.com>
>>> wrote:
>>>
>>>> Yes exactly, what is in difference:
>>>>
>>>> When I generate Verify Email via GUI, there is different mail subject
>>>> and verify link, too.
>>>> - subject is "Verify email"
>>>> - link generated in email:
>>>>
>>>>
>>>>
http://172.31.32.216:8080/auth/realms/universities/login-actions/email-ve...
>>>>
>>>>
>>>>
>>>> On Tue, Dec 22, 2015 at 10:34 AM, Stian Thorgersen <
>>>> sthorger(a)redhat.com> wrote:
>>>>
>>>>> Ok,
>>>>>
>>>>> So basically the issue here is with send-verify-email the subject
>>>>> used to be "Verify email", while it's now "Update
Your Account"?
>>>>>
>>>>> On 22 December 2015 at 09:51, Andrej Prievalsky
<ado.boj.83(a)gmail.com
>>>>> > wrote:
>>>>>
>>>>>> Sorry for misunderstanding from my side.
>>>>>> No, I am saying that in 1.7.0.Final is same subject of email for
>>>>>> both endpoints "send-verify-email" and
"execute-actions-email" and
>>>>>> it is "Update Your Account".
>>>>>>
>>>>>> On Tue, Dec 22, 2015 at 8:38 AM, Stian Thorgersen <
>>>>>> sthorger(a)redhat.com> wrote:
>>>>>>
>>>>>>> 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(a)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-8...
>>>>>>>> Here was JIRA ticket 2063 created (missing code in
verify link)
>>>>>>>>
http://172.31.32.216:8080/auth/realms/universities/login-actions/email-ve...
>>>>>>>>
>>>>>>>> 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-6...
>>>>>>>> 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-...
>>>>>>>>
>>>>>>>> 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-6...
>>>>>>>> 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-...
>>>>>>>> and second REST-API: PUT
>>>>>>>>
http://172.31.32.216:8080/auth/admin/realms/universities/users/0ee34d46-6...
>>>>>>>> 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(a)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(a)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-6...
>>>>>>>>>> and
>>>>>>>>>> 2.) PUT
>>>>>>>>>>
http://172.31.32.216:8080/auth/admin/realms/universities/users/0ee34d46-6...
>>>>>>>>>> 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-...
>>>>>>>>>>
>>>>>>>>>> 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-ve...
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 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(a)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(a)lists.jboss.org
>>>>>>>>>>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>