Wordpress plugin for Opplysningen INN
- A valid INN application account. Create yours on the [INN Self Service portal] (https://inn-prod-ss.opplysningen.no/innss/).
- Compress all files in the src-directory to a zip file inn-auth.zip.
- Upload the plugin to wordpress and activate it.
/wp-admin/plugin-install.php
- Fill in your application details in the settings
/wp-admin/options-general.php?page=inn-setting-admin
[inn-login]
Creates a login button. The user will be redirected to INN for SSO, and redirected back to the URL of the page
[inn-checkout]
Creates a checkout button. The user will be redirected to INN for address selection, and redirected back to the URL of the page.
[inn-printmytoken]
Prints the UserToken in a human friendly format.