meteor-accounts-saml/openidp-example/example-openidp.html
2015-08-10 12:59:44 +02:00

36 lines
912 B
HTML
Executable file

<head>
<title>accounts-saml-example-openidp</title>
</head>
<body>
{{>samlDemo}}
</body>
<template name="samlDemo">
{{loginButtons}}
<br>
{{#unless currentUser}}
<a href="#" class="saml-login" data-provider="openidp">Log in with OpenIDP</a>
{{/unless}}
<hr>
<h2>Step 1</h2>
Create a password based account.
<h2>Step 2</h2>
Sign out / log out. You should see both the login buttons control 'Sign In' and the custom saml login link 'Log in with OpenIDP'
<h2>Step 3</h2>
Create OpenIDP account if you don't already have one with same email address as the password account. https://openidp.feide.no/
<h2>Step 4</h2>
Click the link 'Log in with OpenIDP'. In the pop up window, log in with your OpenIDP credentials.
<h2>Step 5</h2>
If all goes well, the popup should close by itself. You should now be logged in just as if you had typed in your username and password.
</template>