Authentication in applications and libraries using Dataporten¶
This collection of code examples shows APIs using Dataporten for access control in various programming langauges. We would be happy if you contribute to the list.
Please contribute to this page, if you have some simple code examples from your experience with Dataporten integration.
App Dataporten PHP demo¶
Small Demo application of how to connect with dataporten, and fetch different data.
dptool - Node.js Command line tool¶
dptool - command line client that authenticates via Dataporten
Node.js example code¶
Dataporten and Node.js using OpenID Connect
This example code uses the openid-client client library directly.
Node.js example of using the OpenID Connect PassportJS module¶
Dataporten and Node.js using OpenID Connect with PassportJS
This example code uses the passportjs openid connect strategy.