Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Examples
.gitattributes
.gitignore
Getting Started.md
Readme.md

Readme.md

PULS

The OpenAPI Specification is available on the following URL: https://stanlab.test.miljoeportal.dk/openapi/v1/stanlab.json

Please note that the production API is not yet published. The expected release date is January 2020.

Environment Endpoint
Production https://puls-api.miljoeportal.dk/swagger/v1/swagger.json
Demo https://puls-api.demo.miljoeportal.dk/swagger/v1/swagger.json
Test https://puls-api.test.miljoeportal.dk/swagger/v1/swagger.json

Security and Authorization

The PULS REST API is secured using Danmarks Miljøportal's identity provider, that requires a set of client credentials. Please contact Danmarks Mlijøportal's support at support@miljoeportal.dk to get a client id and client secret for authorization.

Danmarks Miljøportal's Identity Provider

Danmarks Miljøportal's identity provider supports OpenID Connect, a simple identity layer on top of the OAuth 2.0 protocol, which allows computing clients to verify the identity of an end-user based on the authentication performed by an authorization server, as well as to obtain basic profile information about the end-user in an interoperable and REST-like manner. In technical terms, OpenID Connect specifies a RESTful HTTP API, using JSON as a data format.

OpenID Connect allows a range of clients, including Web-based, mobile, and JavaScript clients, to request and receive information about authenticated sessions and end-users. The specification suite is extensible, supporting optional features such as encryption of identity data, discovery of OpenID Providers, and session management.

OpenID Connect defines a discovery mechanism, called OpenID Connect Discovery, where an OpenID server publishes its metadata at a well-known URL. The discovery documents are available on the following URL's for the test and production environment respectively.

https://log-in.test.miljoeportal.dk/runtime/oauth2/.well-known/openid-configuration

https://log-in.miljoeportal.dk/runtime/oauth2/.well-known/openid-configuration

The identity provider supports the OAuth 2.0 / OpenID Connect flow Authorization code.

The Authorization Code grant type is used by confidential and public clients to exchange an authorization code for an access token.

After the user returns to the client via the redirect URL, the application will get the authorization code from the URL and use it to request an access token.

You can’t perform that action at this time.