-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathtiltaksgjennomforing-auth.yaml
More file actions
28 lines (27 loc) · 1.11 KB
/
tiltaksgjennomforing-auth.yaml
File metadata and controls
28 lines (27 loc) · 1.11 KB
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
auth:
- name: "aad"
loginEndpointAuth:
externalEndpointURL: "http://localhost:8083/aad/token"
payloadRaw: "NAVident=Q987654&grant_type=client_credentials&code=foo&client_id=foo&client_secret=secret"
- name: "system"
loginEndpointAuth:
externalEndpointURL: "http://localhost:8083/system/token"
payloadRaw: "sub=system&grant_type=client_credentials&code=foo&client_id=foo&client_secret=secret"
- name: "tokenxLevel3"
loginEndpointAuth:
externalEndpointURL: "http://localhost:8083/tokenx/token"
payloadRaw: "pid=88888888888&grant_type=client_credentials&code=foo&client_id=foo&client_secret=secret"
- name: "tokenxLevel4"
loginEndpointAuth:
externalEndpointURL: "http://localhost:8083/tokenx/token"
payloadRaw: "pid=99999999999&grant_type=client_credentials&code=foo&client_id=foo&client_secret=secret"
authTemplate:
loginEndpointAuth:
verb: POST
contentType: application/x-www-form-urlencoded
token:
extractFrom: body
extractSelector: /access_token
sendName: Authorization
sendIn: header
sendTemplate: "Bearer {token}"