For Developers
Instant SSO Widget
The authentication plugin adds an overlay to your login page. It utilizes the person's Edlink cookie enabling them to login to saved accounts with one click. The user will have to signed in via Edlink at least once before.
Usage
1. Installation
First add the Widgets SDK script to your website. You can do this by adding the following script tag to your website:
<script src="https://ed.link/widgets/edlink@1.0.0.js"></script>
Then initialize the SDK.
const edlink = new Edlink({ client_id: `00000000-0000-0000-0000-000000000000` });
Next create a widget instance.
const widget = edlink.createWidget();
2. Activation
Then just activate the plugin like so:
widget.activatePlugin({
name: 'authentication',
options: {
redirect_uri: 'https://acme.com/auth/callback'
}
});
