Dataporten client libraries

PHPSimpleSAMLPHP Module dataportenoauth2

This is an authentication module for SimpleSAMLPHP, written in PHP. This module connects with Dataporten via OAuth2.

PHPGeneral Authorization Code Flow OAuth2-Client

RubyOmniAuth Dataporten

An OmniAuth strategy for Dataporten as OAuth2 provider. Written in Ruby, and follows the instructions of OmniAuth-OAuth2 by intridea on how to create a new strategy for OmniAuth. Written with GitLab in mind and it's docker image.

JavascriptJSO

Node.jsOpenID Connect PassportJS strategy verified with Dataporten

Passport is authentication middleware for Node.js. Extremely flexible and modular, Passport can be unobtrusively dropped in to any Express-based web application. A comprehensive set of strategies support authentication using Dataporten and more.

Node.jsDataporten PassportJS strategy

Passport is authentication middleware for Node.js. Extremely flexible and modular, Passport can be unobtrusively dropped in to any Express-based web application. A comprehensive set of strategies support authentication using Dataporten and more.

Meteor/Node.jsMeteor Dataporten OAuth2 strategy

Packages for meteor that allows for easy integration with Dataporten as a source of authentication and Meteor as framework. meteor-accounts-dataporten is repo for the login-button, and registering the serivce, while meteor-dataporten is the repo for configuration of client_id and client_secret etc., and the strategy on how the authentication flow is, serverside and clientside.

PythonPyramid - Authomatic Dataporten plugin

Authomatic is a framework agnostic library for Python web applications with a minimalistic but powerful interface which simplifies authentication of users by third party providers such as Dataporten.


Web server modules

Apachemod_auth_openidc

This is an authentication module for apache. It uses OpenID Connect and works well with dataporten.


Example code

You may inspect the code examples below to learn more about integration with dataporten.

You may also inspect all the dataporten-ready applications source code.

App Dataporten PHP demo

Small Demo application of how to connect with dataporten, and fetch different data.

dptools - Node.js Command line tool

dptool - command line client that authenticates via Dataporten


Generic OAuth 2.0 Libraries

These libraries supports OAuth 2.0, and should work with Dataporten, but many more exists, and we have not quality controlled these. Please let us know about your experience with these libraries in order to improve this page.