WordPress ReAuth =1 Loop with wpCAS
I got it! Within the wpcas.php file inside of the wpCAS plugin folder, lines 85-123 detail the actual login function of wpCAS. Lines 104 & 108 detail specifically on how wpCAS redirects you to the admin page: 104: wp_redirect( preg_match( ‘/^http/’, $_GET[‘redirect_to’] ) ? $_GET[‘redirect_to’] : site_url( $_GET[‘redirect_to’] )); 108: wp_redirect( site_url( ‘/wp-admin/’ )); However, … Read more