Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Self-Destructing Message iPhone App Using Parse.com as a Backend and Adding Users Logging In and Logging Out

The Starlord
The Starlord
886 Points

parse.com fails to authenticate login attempt

Hello folks,

I'm following along with login and log out tutorial i've implemented the code just as show however parse.com fails to authenticate and UIAlertView triggers the error, i've used break point at logininbackground method the right username and password is being passed in but not sure why it keeps failing

Any help is highly appreciated

i'm using xcode 6 with IOS SDK 8.3

2 Answers

The Starlord
The Starlord
886 Points

never mind i found the answer...thanks

Thomas Chen
Thomas Chen
131 Points

Can you tell us how did you solve that? Thank you

I'm having the same issue, please how did you solve it?

I found a way to escape this. what I did was that I went to my Parse.com dashboard and overrode the value in the password field, since i couldn't view the encrypted value, i just changed it to the same thing. When I log in again I was able to successfully segue into the Inbox view controller but on my output window in XCODE i get invalid session token. Please someone give more insight on why this happened, it's like the string of text for password passed to the BaaS was distorted in the process.