Q. Are you logged in?<br/>
R. <?= ( $loggedIn == 1) ? 'yes' : 'no' ?>

<?php if ($loggedIn == 1) { ?>
<br/><br/>
Q. What's the data associated with my identity?<br/>
R. This is the data:<br/>
<pre>
<?php var_dump($identity) ?>
</pre>
<?php } ?>
Q. Are you logged in?<br/>
R. <?= ( $loggedIn == 1) ? 'yes' : 'no' ?>

<?php if ($loggedIn == 1) { ?>
<br/><br/>
Q. What's the data associated with my identity?<br/>
R. This is the data:<br/>
<pre>
<?php print_r($identity) ?>
</pre>
<?php } ?>
Use print_r instead of var_dump
Use print_r instead of var_dump

var_dump doesn’t show full authentication info
