-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathopen-api.yml
More file actions
32 lines (32 loc) · 824 Bytes
/
open-api.yml
File metadata and controls
32 lines (32 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
openapi: "3.0.2"
info:
title: MIRACL Trust OIDC Integration Samples API
version: "1.0"
paths:
/:
get:
responses:
"200":
description: Return the UserInfo if the user is authenticated.
"302":
description: Generate state and redirect to MIRACL Trust Login Page if user is not authenticated.
/login:
get:
parameters:
- name: state
in: query
description: state
required: true
schema:
type: string
- name: code
in: query
description: state
required: true
schema:
type: string
responses:
"302":
description: Redirect to the Index page if the authentication is successful.
"400":
description: Bad Request.