Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.