# Moving Login page

**URL:** <https://community.glideapps.com/t/moving-login-page/27761>\
**Category:** Ask for Help\
**Created:** [June 7, 2021, 11:43pm UTC](https://community.glideapps.com/t/moving-login-page/27761 "2021-06-07T23:43:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![CineDiver](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cinediver/32/16501_2.png) [@CineDiver](https://community.glideapps.com/u/CineDiver)\
**Post date:** [June 7, 2021, 11:43pm UTC](https://community.glideapps.com/t/moving-login-page/27761/1 "2021-06-07T23:43:18Z")

</div>

Not sure if I’m missing this feature or not, but is there a way have app users login on a second level screen or is it always on launch?

-Alfeo

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [June 8, 2021, 12:01am UTC](https://community.glideapps.com/t/moving-login-page/27761/2 "2021-06-08T00:01:43Z")

</div>

You can. Just make your app public, then the user can either sign in through the side menu (if you have it visible), or create a button with a sign in action.

---

<div class="post-metadata">

**Author:** ![CineDiver](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cinediver/32/16501_2.png) [@CineDiver](https://community.glideapps.com/u/CineDiver)\
**Post date:** [June 8, 2021, 12:50am UTC](https://community.glideapps.com/t/moving-login-page/27761/3 "2021-06-08T00:50:50Z")

</div>

I’m using the free version as of now. The only way I see to have a user login is using the “Sign-in Screen” App is public.

[https://go.glideapps.com/app/DqgcckLU9OZXBzXIAp0A/layout](https://go.glideapps.com/app/DqgcckLU9OZXBzXIAp0A/layout)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [June 8, 2021, 1:00am UTC](https://community.glideapps.com/t/moving-login-page/27761/4 "2021-06-08T01:00:34Z")

</div>

That’s what I’m saying. Change your app to Public. It’s not specific to Free or Pro apps. You can change your app to Public.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/2/a216001508c415f1094777e58d32331db6598c34.png)

Once you do that, if you have the side menu visible, then users can sign in there.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/d/8d9c6ac389530375a1fc3294e7bb501370af299f.png)

If you would rather have a button, then add a button and set the action to ‘Sign In’.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/2/92f9caf4fc874248cac79a95df16d993f5e17737.png)

---

<div class="post-metadata">

**Author:** ![CineDiver](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cinediver/32/16501_2.png) [@CineDiver](https://community.glideapps.com/u/CineDiver)\
**Post date:** [June 8, 2021, 1:55am UTC](https://community.glideapps.com/t/moving-login-page/27761/5 "2021-06-08T01:55:37Z")

</div>

AHHHH!!! Ok! I see now. I see where I can change the action to Sign In. But no option to then go to details afterwards. Time for more reading…

Thanks

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [June 8, 2021, 12:41pm UTC](https://community.glideapps.com/t/moving-login-page/27761/6 "2021-06-08T12:41:53Z")

</div>

You can create a custom action that will perform multiple actions. This isn’t a particular situation that I’ve done myself, but I believe you can have a sign in action followed by the view detail action.

---

<div class="post-metadata">

**Author:** ![CineDiver](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cinediver/32/16501_2.png) [@CineDiver](https://community.glideapps.com/u/CineDiver)\
**Post date:** [June 8, 2021, 12:59pm UTC](https://community.glideapps.com/t/moving-login-page/27761/7 "2021-06-08T12:59:23Z")

</div>

I was looking at that last night, but got too tired to make sense of anything. Everything else just dead ends.

---

<div class="post-metadata">

**Author:** ![CineDiver](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cinediver/32/16501_2.png) [@CineDiver](https://community.glideapps.com/u/CineDiver)\
**Post date:** [June 9, 2021, 12:42am UTC](https://community.glideapps.com/t/moving-login-page/27761/8 "2021-06-09T00:42:26Z")

</div>

I thought I was just too tired last night, but I have come to find an issue.

When I set the Action to **Sign in** I get was getting a blank screen. I believe that was because I was still signed in on the computer in the app builder. I switched to view as another user and bingo, now I actually get a the login page. Once signed in, I cannot go to details of the directory member.

If I create a Custom Action which is Sign in → View Details, it will bypass the sign in page and go to details. If I try to go back, then it will show the Sign in page asking th user to sign in.

This is getting frustrating

Thanks for you diligences in trying to help.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [June 9, 2021, 3:08am UTC](https://community.glideapps.com/t/moving-login-page/27761/9 "2021-06-09T03:08:47Z")

</div>

I think I’ll have to sit down and try this out. I’ve never built an app that has a public layer and a signed in layer, so I’m mostly guessing that it’s possible. I feel like other people have done it, but I couldn’t find any related posts.

Maybe somebody else can chime in, but my first attempt would probably be the same thing you tried. I’ll let you know if I figure something out.

---

<div class="post-metadata">

**Author:** ![CineDiver](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cinediver/32/16501_2.png) [@CineDiver](https://community.glideapps.com/u/CineDiver)\
**Post date:** [June 9, 2021, 3:17am UTC](https://community.glideapps.com/t/moving-login-page/27761/10 "2021-06-09T03:17:39Z")

</div>

Thanks Jeff. They actually talk about that layers issue here: [Show Sign In - Glide Library](https://docs.glideapps.com/all/reference/actions/single-actions/navigation/sign-in-action)  
But no detail on how to continue in this example.

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [June 9, 2021, 11:26am UTC](https://community.glideapps.com/t/moving-login-page/27761/11 "2021-06-09T11:26:35Z")

</div>

Hola!!!

In order to create an app that is public but requires sign in when the user wants to say buy something, you need to first set it up as public with email, set up the profile sheet by clicking on the side menu then sign in button and in the right panel choosing the profile sheet.

Right after this, you can reverse the app to public.

To hide/show tabs the visibility conditions that I use are show tab when email is empty or when name is not empty. These two condition allow me to show that tab when there’s no login and after the user has logged in.

On the “buy” button create a custom action:  
If email is empty \> sign in  
Else \> increment

If you have tabs like profile tab that you only want to show when the user is logged in, the visibility condition could be: show tab when name is not empty.

Just to be safe you might wanna create an If-Then-Else that changes from false to true when all the required fields for your profile are not empty. Use this instead of name is not empty.

If I have time later today, I’ll post an example here.

In the meantime, I hope this makes sense and helps you.

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [June 9, 2021, 1:13pm UTC](https://community.glideapps.com/t/moving-login-page/27761/12 "2021-06-09T13:13:49Z")

</div>

@CineDiver

Here’s the example, you can copy it and see how it works. I made it on the stage part of glide, sorry about that, you might have to recreate it on glide production.

I hope it helps.

> **[Public app example](https://moonlit-view-1859.staging.glideapp.io/)**

---

<div class="post-metadata">

**Author:** ![CineDiver](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cinediver/32/16501_2.png) [@CineDiver](https://community.glideapps.com/u/CineDiver)\
**Post date:** [June 9, 2021, 3:09pm UTC](https://community.glideapps.com/t/moving-login-page/27761/13 "2021-06-09T15:09:12Z")

</div>

One hangup I was having was I did not see the IF / ELSE add a condition button until now… But your logic of the user email and user name helped.

IF user email is empty → Sign in  
Else → Show Details

This seems to be working. I had no idea on how to check if a user was logged in until now.

THANK YOU ALL!!! 🙏🏾

---

<div class="post-metadata">

**Author:** ![CineDiver](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cinediver/32/16501_2.png) [@CineDiver](https://community.glideapps.com/u/CineDiver)\
**Post date:** [July 13, 2021, 10:07pm UTC](https://community.glideapps.com/t/moving-login-page/27761/14 "2021-07-13T22:07:44Z")

</div>

> [@SantiagoPerez](#):
>
> [https://moonlit-view-1859.staging.glideapp.io/](https://moonlit-view-1859.staging.glideapp.io/)

Now this seems to be broken… 😢

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [July 13, 2021, 10:10pm UTC](https://community.glideapps.com/t/moving-login-page/27761/15 "2021-07-13T22:10:38Z")

</div>

@CineDiver

try again.

> **[Public app example](https://moonlit-view-1859.staging.glideapp.io/)**

It works for me.

---

<div class="post-metadata">

**Author:** ![CineDiver](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cinediver/32/16501_2.png) [@CineDiver](https://community.glideapps.com/u/CineDiver)\
**Post date:** [December 22, 2021, 2:37am UTC](https://community.glideapps.com/t/moving-login-page/27761/16 "2021-12-22T02:37:14Z")

</div>

I think I found the issue. I had to turn on User Profiles (via Settings → Privacy → Public Sign-In w/ Email  
Then setup another sheet for such and assign that sheet as the Source for the User Profile Menu.  
Then (this is where I went wrong) my IF command is USER PROFILE \> Email is Empty

 ![Screen Shot 2021-12-21 at 9.35.33 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/a/caeabf8a86d378a19fa1614845e24d9411b9c4f6.png)

Thanks everyone for the help! I can now go public with my Directory!!!

---

<div class="post-metadata">

**Author:** ![Future\_Forte](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/future_forte/32/63614_2.png) [@Future\_Forte](https://community.glideapps.com/u/Future_Forte)\
**Post date:** [September 22, 2023, 12:25am UTC](https://community.glideapps.com/t/moving-login-page/27761/17 "2023-09-22T00:25:56Z")

</div>

Hi Santiago, I know this topic was long ago but for now, is there a way to allow them use the app without signing in at the very first stage when they open the app? To buy something, they need to sign in.

It looks like when I changed the app to **No sign in** , when I add a button that direct to Sign in in my Homepage Tab, it doesn’t show the button. But when I change into **Required sign in** , they have to sign in at the very first stage and the button does appear, but it doesn’t lead to the sign in page, but lead to other account’s profile instead.

So is there a way that allow both visitors and users to see the app? Thank you!

 ![Screen Shot 2023-09-22 at 10.19.11](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/8/7815d37c44abb32d0e99f97114bab7c774ebd427.jpeg)  
 ![Screen Shot 2023-09-22 at 10.19.01](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/e/4e7df89478e1d1a3317b58b01648e8041d15a36b.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [September 22, 2023, 12:50am UTC](https://community.glideapps.com/t/moving-login-page/27761/18 "2023-09-22T00:50:39Z")

</div>

Have you tried ‘Optional Sign In’?

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [September 22, 2023, 12:22pm UTC](https://community.glideapps.com/t/moving-login-page/27761/19 "2023-09-22T12:22:17Z")

</div>

“Public” means there is no restriction on who can use your app. Everyone can. You can then define if no sign-in is possible at all (no profiles), if sign-in is required (required means sign-in will be on the first screen), or if sign-in can be done (it’s optional).

As Jeff said, your case seems to be Public \> Optional Sign-in.

For an overview of these privacy options:

> [@Glide Privacy Flowchart](https://community.glideapps.com/t/glide-privacy-flowchart/60957):
>
> Configuring the Privacy Settings for your Glide App can sometimes be a little confusing, especially when it comes to understanding how each of the settings affect whether your Signed In Users are considered Public or Private. The below flow chart aims to demystify that somewhat. A couple of key points to understand and be aware of: If you choose Private Access, then all users will be Private. If you choose Public Access, then that doesn’t necessarily mean that all your Users will be Public. …

---

<div class="post-metadata">

**Author:** ![Future\_Forte](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/future_forte/32/63614_2.png) [@Future\_Forte](https://community.glideapps.com/u/Future_Forte)\
**Post date:** [September 23, 2023, 2:00pm UTC](https://community.glideapps.com/t/moving-login-page/27761/20 "2023-09-23T14:00:20Z")

</div>

I tried Optional sign-in and it works now! Thanks everyone so much 😄!!

[Next page](https://community.glideapps.com/t/moving-login-page/27761.md?page=2)
