# \[Solved\] Trouble with automatic sign in

**URL:** https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316
**Category:** Questions about Thunkable X
**Tags:** solved
**Created:** [July 14, 2020, 3:49pm UTC](https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316 "2020-07-14T15:49:20Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)
#### Post date: [July 14, 2020, 3:49pm UTC](https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316/1 "2020-07-14T15:49:20Z")

</div>

I have searched through the prior topics and still can’t figure out the problem. I am trying to get automatic sign in and have followed with the template my blocks are, ![thunk](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/5/f5c28591d0ad4e0a68ea5aeb16182b5582c51720.jpeg) and when I have verified the email if I use the live viewer I still have to sign in manually each time. Not sure where I have gone wrong

---

<div class="post-metadata">

### Author: ![knownkeep](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@knownkeep](https://community.thunkable.com/u/knownkeep)
#### Post date: [July 14, 2020, 3:53pm UTC](https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316/2 "2020-07-14T15:53:34Z")

</div>

Just looking quickly, your “\> 0” logic should use “length of” function, too (under Text). I’m not sure if that’s causing the error, but that jumped out first.

---

<div class="post-metadata">

### Author: ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)
#### Post date: [July 14, 2020, 3:57pm UTC](https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316/3 "2020-07-14T15:57:04Z")

</div>

Okay, I did change that, but still no dice

---

<div class="post-metadata">

### Author: ![knownkeep](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@knownkeep](https://community.thunkable.com/u/knownkeep)
#### Post date: [July 14, 2020, 4:02pm UTC](https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316/4 "2020-07-14T16:02:45Z")

</div>

Can you show new blocks?

Also, is your Results label showing anything?

Where is it stopping?

Tip: For debugging, I’ve recently starting using the Vibrate block/function (under Device) to let me know if certain code is getting triggered.

---

<div class="post-metadata">

### Author: ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)
#### Post date: [July 14, 2020, 4:05pm UTC](https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316/5 "2020-07-14T16:05:05Z")

</div>

![thunk 2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/a/aad69a731c5db1f192a5f81fc293df8e8ca19540.jpeg)

I was just about to say, I think the problem is in “isEmailVerified” as the results label is triggered to “Please verify email” I can confirm though that the email is verified on Firebase and I can manually log in via the “already a user” button

I am not sure why it would be “not verified”

---

<div class="post-metadata">

### Author: ![darren](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/darren/32/69854_2.png) [@darren](https://community.thunkable.com/u/darren)
#### Post date: [July 14, 2020, 4:56pm UTC](https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316/6 "2020-07-14T16:56:14Z")

</div>

Are you sure you have valid values in stored Email and Password?

Where are you saving those? You can display them on the screen first to confirm.

If that is all good, try replacing `isEmailVerified` with `true` and see what happens.

---

<div class="post-metadata">

### Author: ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)
#### Post date: [July 15, 2020, 9:10am UTC](https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316/7 "2020-07-15T09:10:14Z")

</div>

I’ll give that a try, here is the screen I have been testing on (it doesn’t have my firebase account linked to it. [https://x.thunkable.com/copy/74928de69e88a28b0e0c3d5803417cc5](https://x.thunkable.com/copy/74928de69e88a28b0e0c3d5803417cc5)

---

<div class="post-metadata">

### Author: ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)
#### Post date: [July 15, 2020, 3:32pm UTC](https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316/8 "2020-07-15T15:32:06Z")

</div>

So as a new error its is telling me the “email is badly formatted” I am not sure what it means by that. If that is a code or a firebase problem

---

<div class="post-metadata">

### Author: ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)
#### Post date: [July 15, 2020, 4:54pm UTC](https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316/9 "2020-07-15T16:54:20Z")

</div>

So I went ahead and instead of separate variables for email in password I switched to 1 as follows

 ![Annotation 2020-07-15 175024](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/2/d22dfb6db7fc33473fc66bc9529f7f677c105408.jpeg) ![Annotation 2020-07-15 175210](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/4/44eee2af5e65e65989756f721d48155c0491f5b1.jpeg)

It got the results I am looking for. Still not sure what “email badly formatted” means but this got me the results I was wanting so I will count that as a win

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:27pm UTC](https://community.thunkable.com/t/solved-trouble-with-automatic-sign-in/678316/10 "2024-11-08T12:27:09Z")

</div>


