Skip to content

Oidc Service v1.0.0

Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

Oidc microservice

Base URLs:

Authentication

  • HTTP Authentication, scheme: bearer

OidcController

OidcController.confirm

Code samples

fetch('/interaction/{uid}/confirm',
{
  method: 'POST'

})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
const fetch = require('node-fetch');

fetch('/interaction/{uid}/confirm',
{
  method: 'POST'

})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

POST /interaction/{uid}/confirm

Responses

Status Meaning Description Schema
200 OK Return value of OidcController.confirm None

OidcController.login

Code samples

const inputBody = '{}';
const headers = {
  'Content-Type':'application/x-www-form-urlencoded'
};

fetch('/interaction/{uid}/login',
{
  method: 'POST',
  body: inputBody,
  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
const fetch = require('node-fetch');
const inputBody = {};
const headers = {
  'Content-Type':'application/x-www-form-urlencoded'
};

fetch('/interaction/{uid}/login',
{
  method: 'POST',
  body: JSON.stringify(inputBody),
  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

POST /interaction/{uid}/login

Body parameter

{}

Parameters

Name In Type Required Description
body body object false none

Responses

Status Meaning Description Schema
200 OK Return value of OidcController.login None

OidcController.interaction

Code samples

const headers = {
  'Accept':'type'
};

fetch('/interaction/{uid}',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
const fetch = require('node-fetch');

const headers = {
  'Accept':'type'
};

fetch('/interaction/{uid}',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

GET /interaction/{uid}

Example responses

Responses

Status Meaning Description Schema
200 OK login page None

Response Schema