PTR
Posts: 0
Joined: Fri Feb 07, 2014 2:07 pm

I can still access different pages after Logout

When i logout from the app, i get redirected to the Login page(main page), as it should be. But if i type in the link to one of my other pages, i can still access the app without logging in.

I only want to be able to access my app from the login page. If i type in the adress to one of the other sites within the app, it should throw me back to the Login page. How can i solve this?

Could you please explain in a simple way as possible? Im still new(like really new) with this.

I really appreciate your hard work with answering all the questions!!

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

I can still access different pages after Logout

Hi Peter --

Are you working with this tutorial or is it your own custom app?

[quote:]
But if i type in the link to one of my other pages, i can still access the app without logging in.
[/quote]
Can you clarify where exactly you input another link?

PTR
Posts: 0
Joined: Fri Feb 07, 2014 2:07 pm

I can still access different pages after Logout

I am working on a custom app, but i followed this tutorial: https://www.youtube.com/watch?v=r7bSYu...

My main page is:
xxxxxxx.app.appery.io/loginscreen.html

When i login in i will be redericted to:
xxxxxxx.app.appery.io/ordlista.html

If i type in the adress above in any browser, i can access the app without logging in, and thats what i need to change so the app only can be accessed through the login screen.

PTR
Posts: 0
Joined: Fri Feb 07, 2014 2:07 pm

I can still access different pages after Logout

i did everything from the beginning and followed the link you posted:
http://docs.appery.io/tutorials/build...

When Logout is success it should navigate me to the sign in screen, and thats working perfectly. But the problem is that i can still access any page within my app just by typing in the link my browser. Its not redericting me to the login page as it should.

this means that anybody who has a link to any other page in my app can access them without logging in.

To be specific, i need the app to only be accessible by logged in users.

Return to “Issues”