Skip to content

Commit 7fca253

Browse files
committed
auth
1 parent 0a690e8 commit 7fca253

2 files changed

Lines changed: 26 additions & 14 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
auth:
2+
- name: "aad"
3+
loginEndpointAuth:
4+
externalEndpointURL: "http://localhost:8083/aad/token"
5+
payloadRaw: "NAVident=Q987654&grant_type=client_credentials&code=foo&client_id=foo&client_secret=secret"
6+
- name: "system"
7+
loginEndpointAuth:
8+
externalEndpointURL: "http://localhost:8083/system/token"
9+
payloadRaw: "sub=system&grant_type=client_credentials&code=foo&client_id=foo&client_secret=secret"
10+
- name: "tokenxLevel3"
11+
loginEndpointAuth:
12+
externalEndpointURL: "http://localhost:8083/tokenx/token"
13+
payloadRaw: "pid=88888888888&grant_type=client_credentials&code=foo&client_id=foo&client_secret=secret"
14+
- name: "tokenxLevel4"
15+
loginEndpointAuth:
16+
externalEndpointURL: "http://localhost:8083/tokenx/token"
17+
payloadRaw: "pid=99999999999&grant_type=client_credentials&code=foo&client_id=foo&client_secret=secret"
18+
19+
authTemplate:
20+
loginEndpointAuth:
21+
verb: POST
22+
contentType: application/x-www-form-urlencoded
23+
token:
24+
extractFromField: /access_token
25+
httpHeaderName: Authorization
26+
headerPrefix: "Bearer "

auth/tiltaksgjennomforing-api.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)