Reverse-Proxy auto-login

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
jelias
Posts: 1
Joined: 2021-08-04 14:52

Reverse-Proxy auto-login

Post by jelias » 2022-10-25 11:01

Hi all,

I would like to make it possible for AppGini apps to authenticate users using Reverse Proxy.

This is explained here: https://wp-qa.com/wordpress-reverse-pro ... tp-headers

Ahmed Genedy proposed me to add this
add your authentication code inside hooks/__bootstrap.php (create that file if not already there). Code placed in this file is processed before any authentication checks made by AppGini and so you can inject user info into the $_SESSION variable, bypassing the login form.
Could you help me make it work ?

Post Reply