Here is a list of client libraries that supports OAuth 2.0 and/or OpenID Connect. Such libraries can make it very easy to integrate Dataporten into your application.

We are listing libraries that we are aware of, and with most of these libraries we have done some kind of proof of concept together with Dataporten. However we have not inspected the code, and verified that is is robust and secure. We will not give any assurances for the software below, instead it is only a listing to help you find relevant software. Please verify the quality and security of these libraries before using it in production.

Please send us a pull-request if you would like to suggest additional software to be listed.

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.

PythonPython / Django

Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.

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.