oidc-registration-php/info.php

58 lines
1.8 KiB
PHP

<?php
echo file_get_contents("html/header.html");
$ini_arr = parse_ini_file( "cacert.ini" );
?>
<div class="scrollDiv" style="position: absolute; top: 200px; left: 50px; width: 80%">
<div style='color: black; background: beige; padding: 1em; margin-right: 5px'>
<p>
This site provides several functions related to registering
your web site or application to use CAcert's OpenID Connect facility,
allowing people holding CAcert Client Certificates to use OpenID Connect
to log in to your site.
</p>
<p>
In order to use this site, you must have a valid
client certificate from CAcert installed in your browser.
</p>
<p>
Such a certificate may be obtained from
<a href="https://cacert.org" title-"CAcert Home" target="_blank" >CAcert</a>.
</p>
<p>
This tool provides three functions, found in the Home menu.
<br>
<b>Register a New Site</b>,
<b>List all Registered Sites</b>
and un-register or
<b>Delete a Site</b>.
</p>
<p>
You may download the various URLs provided by the OpenID component
<a href="<?php echo $ini_arr[ 'URLs' ][ 'WellKnownURL' ] ?>" title="OpenID Config" target="_blank" download="openid_configuration.json" >Here</a>
</p>
<p>
For more information, see our <b>About Page</b>
or <a href="https://cacert.org" title-"CAcert Home" target="_blank" >CAcert</a>.
</p>
</div>
<br>
<?php
echo "<div class='pageFooter'>";
echo file_get_contents("html/footer.html");
echo "<br>";
echo '<p>Copyright © CAcert, Inc ';
echo date("Y");
echo "</p>";
echo "</div>";
echo "</div>";