简体   繁体   中英

Fail to confirm user. 400 Bad Request - Invalid app key

im am experiencing problems with the email validation in the appcelerator platform. I have everything configured right and the email arrive in my inbox when a new user is created, but, for some reason, the link to activate the account returns: Fail to confirm user. 400 Bad Request - Invalid app key

I checked in the tiapp.xml and checked if the api keys are properly configured and everything is alright. I have no idea of how appcelerator generate this link to verify what happen. In my template uses the link below:

https://cloud.appcelerator.com/users/confirmation?key= {{key}}&confirmation_token={{confirmation_token}}

What im doing wrong? =[

Seems that the documentation is wrong. Only works if the link in the template is https://platform.appcelerator.com/#/users/confirmation/ {{key}}/{{confirmation_token}}

I just encountered the same issue and can confirm the bug in the documentation. The correct url is indeed

https://platform.appcelerator.com/#/users/confirmation/{{key}}/{{confirmation_token}}

I'd like to add that there is probably a similar defect in the following documentation for password reset url: http://docs.appcelerator.com/arrowdb/latest/#!/api/Users-method-request_reset_password

The documentation says the password reset url (if using Appcelerator instead of custom website) should be

https://dashboard.appcelerator.com/#/users/confirmation/{{key}}/{{confirmation_token}}

It seems wrong (copy-paste from email confirmation url perhaps).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM