diff --git a/templates/activate.php b/templates/activate.php
index a13671e..d669b4a 100644
--- a/templates/activate.php
+++ b/templates/activate.php
@@ -58,6 +58,11 @@
$return['errors'] = array('message' => 'You are signed in and your account has already been activated. Your membership status is available here.' . $obs_msg . 'You only need to activate your account the first time you use ' . $station_nice_name . ' Passport.
', 'class' => 'info');
} else {
$mvaultinfo = $mvault_client->activate($mvaultinfo['membership_id'], $pbs_uid);
+ // handle vppa_assent inline for pmsso
+ if (isset($userinfo["vppa_redirect"])) {
+ wp_redirect($userinfo["vppa_redirect"]);
+ exit();
+ }
$userinfo["membership_info"] = $mvaultinfo;
$success = $auth_client->validate_and_append_userinfo($userinfo);
$login_referrer = site_url();