{"id":49201,"date":"2016-06-21T14:02:37","date_gmt":"2016-06-21T14:02:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/dataporten-oauth\/"},"modified":"2016-11-04T12:06:56","modified_gmt":"2016-11-04T12:06:56","slug":"dataporten-oauth","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/dataporten-oauth\/","author":15009290,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"3.1","stable_tag":"3.1","tested":"4.6.30","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Dataporten-oAuth","header_author":"UNINETT","header_description":"","assets_banners_color":"","last_updated":"2016-11-04 12:06:56","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/github.com\/uninett\/dataporten-wordpress-plugin","header_author_uri":"https:\/\/uninett.no","rating":0,"author_block_rating":0,"active_installs":0,"downloads":10451,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.5","0.6","0.7","0.8","0.9","1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","2.0","2.1","2.2","2.4","2.5","2.6","2.7","2.8","3.0","3.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[710,22793,2061,22794,22795],"plugin_category":[38],"plugin_contributors":[125886],"plugin_business_model":[],"class_list":["post-49201","plugin","type-plugin","status-closed","hentry","plugin_tags-authentication","plugin_tags-dataporten","plugin_tags-oauth","plugin_tags-oauth2-0","plugin_tags-uninett","plugin_category-authentication","plugin_contributors-kasperrt","plugin_committers-kasperrt"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/dataporten-oauth.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin enables login with Dataporten, UNINETTS oAuth2.0 platform. The plugin works both with and without Docker. When used with docker, environment variables for client_id, client_secret, redirect_uri and much more can be used.<\/p>\n <p>The plugin enables new and existing users on a wordpress blog to be automaticly assigned to a role, fetched from an array of defined roles decided from user-groups on Dataporten.<\/p>\n <p>This plugin needs php curl to work!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/dataporten-oauth<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the Settings-&gt;Plugin Name screen to configure the plugin<\/li>\n<\/ol>\n <h4>Quick Start<\/h4>\n <ol>\n<li>Download and install the dataporten-oauth plugin.<\/li>\n<li>Setup the oAuth2.0 settings in <em>Settings &gt; Dataporten-oAuth<\/em>.<\/li>\n<li>Enable the plugin with <em>Settings &gt; Dataporten-oAuth &gt; Enabled<\/em><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Is it easy to change from Dataporten to any other system?<\/dt>\n<dd><p>Yes, probably.<\/p><\/dd>\n<dt>Am I allowed to change the plugin to fit my needs?<\/dt>\n<dd><p>Yes.<\/p><\/dd>\n <\/dl>\n\n<!--section=changelog-->\n<h4>3.1<\/h4>\n <ul>\n<li>Folders.. folders everywhere...<\/li>\n<\/ul>\n <h4>2.7<\/h4>\n <ul>\n<li>Forgot to update versions everywhere<\/li>\n<\/ul>\n <h4>2.6<\/h4>\n <ul>\n<li>Logging in now updates name and email if they don't match.<\/li>\n<\/ul>\n <h4>2.5<\/h4>\n <ul>\n<li>Autoclicking dataporten-login button when default form is hidden.<\/li>\n<\/ul>\n <h4>2.4<\/h4>\n <ul>\n<li>Testing done, and seems to be working<\/li>\n<\/ul>\n <h4>2.3<\/h4>\n <ul>\n<li>Minor Versioning<\/li>\n<\/ul>\n <h4>2.2<\/h4>\n <ul>\n<li>Fixed issue where email was mistaken as password<\/li>\n<\/ul>\n <h4>2.1<\/h4>\n <ul>\n<li>Added some debugging<\/li>\n<\/ul>\n <h4>2.0<\/h4>\n <ul>\n<li>Fixed better handling for varying scopes from dataporten, and added firstname + lastname in database from dataporten.<\/li>\n<\/ul>\n <h4>1.8<\/h4>\n <ul>\n<li>Fix for http\/https<\/li>\n<\/ul>\n <h4>1.7<\/h4>\n <ul>\n<li>Versioning..<\/li>\n<\/ul>\n <h4>1.6<\/h4>\n <ul>\n<li>Fixing minor versions<\/li>\n<\/ul>\n <h4>1.4<\/h4>\n <ul>\n<li>Added option for enabling registering with dataporten even when user-registering is disabled.<\/li>\n<\/ul>\n <h4>1.3<\/h4>\n <ul>\n<li>Hiding login button if comments are closed.<\/li>\n<\/ul>\n <h4>1.2<\/h4>\n <ul>\n<li>Added Tag<\/li>\n<\/ul>\n <h4>1.1<\/h4>\n <ul>\n<li>Fixed error with nonce not being added in comments<\/li>\n<\/ul>\n <h4>1.0<\/h4>\n <ul>\n<li>Added nonces to comment form<\/li>\n<\/ul>\n <h4>0.9<\/h4>\n <ul>\n<li>Removed login-button from comment-form if user is logged in<\/li>\n<\/ul>\n <h4>0.8<\/h4>\n <ul>\n<li>Fixed upadte issue<\/li>\n<\/ul>\n <h4>0.5<\/h4>\n <ul>\n<li>Removed all use of sessions<\/li>\n<li>Fixed errors showing up in DEBUG_MODE<\/li>\n<\/ul>\n <h4>0.4<\/h4>\n <ul>\n<li>Added nonce to links to prevent CSRF<\/li>\n<li>Removing old states once every day, and checking whether the states are older than 10 minutes. If it is older than 10 minutes, the login is discarded.<\/li>\n<\/ul>\n <h4>0.3<\/h4>\n <ul>\n<li>Security update<\/li>\n<li>States are now added to database, with an url. This can be extracted so we don't have to rely on sessions for previous urls.<\/li>\n<\/ul>\n <h4>0.2<\/h4>\n <ul>\n<li>Bug fixes<\/li>\n<li>Redirecting works better now.<\/li>\n<\/ul>","raw_excerpt":"Authentication plugin for oAuth2.0 with UNINETTS Dataporten.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/49201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=49201"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kasperrt"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=49201"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=49201"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=49201"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=49201"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=49201"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=49201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}