login admin panel redirect to login page in each submit in live

hello everyone , trying to login in live admin panel login redirect me to login every time i attemt the data in submit and nothing in conlole a have no ssl on it, is that an issue ? can you help me with this http://gysi.herokuapp.com/admin/login
21 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Mateo
MateoOP3y ago
i dont have something like this in my twill.php file it wasn't in twill docs is there any configuration diferent for production ?\
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Mateo
MateoOP3y ago
i tryed but the same thing is not working yet
Mateo
MateoOP3y ago
Mateo
MateoOP3y ago
@ifox @Harings Rob @kalle have you any idea how to slove this
kallefrombosnia
Have you tried clearing the cache? php artisan optimize:clear
Mateo
MateoOP3y ago
yes i did it and the same result
kallefrombosnia
Can you show me these env vars?
APP_URL
ADMIN_APP_URL
ADMIN_APP_PATH
SESSION_DOMAIN=
APP_URL
ADMIN_APP_URL
ADMIN_APP_PATH
SESSION_DOMAIN=
Mateo
MateoOP3y ago
i dont have session domain is neceseary ?
Mateo
MateoOP3y ago
kallefrombosnia
Can you check when you log in on which domain cookie is set? After redirect
Mateo
MateoOP3y ago
i donnt see any request in cookies after submit http://gysi.herokuapp.com/admin/login
kallefrombosnia
If validation passes, auth should set the cookie in your browser. Check here.
Mateo
MateoOP3y ago
im checking to network for any api request and nothing there in local host everything works but in production this hoppen
kallefrombosnia
I have not worked with the subdomain yet on Twill, but can you try to set env var to SESSION_DOMAIN=".herokuapp.com ?
Mateo
MateoOP3y ago
Hro
Hro3y ago
What is your session driver set to on production?
Mateo
MateoOP3y ago
Hi @Harings Rob , Where ca i find that session driver , sorry but is my first time deloying a project (production)
Hro
Hro3y ago
look for session_driver in .env
Mateo
MateoOP3y ago
session_driver=file
Want results from more Discord servers?
Add your server