Add mock OAuth2 provider to testproj
This commit is contained in:
committed by
Cristi Vijdea
parent
bbed2acf06
commit
b385228f7d
@@ -27,6 +27,13 @@ securityDefinitions:
|
||||
in: header
|
||||
name: Authorization
|
||||
type: apiKey
|
||||
OAuth2 password:
|
||||
flow: password
|
||||
scopes:
|
||||
read: Read everything.
|
||||
write: Write everything,
|
||||
tokenUrl: http://test.local:8002/o/token/
|
||||
type: oauth2
|
||||
Query:
|
||||
in: query
|
||||
name: auth
|
||||
@@ -34,6 +41,7 @@ securityDefinitions:
|
||||
security:
|
||||
- Basic: []
|
||||
- Bearer: []
|
||||
- OAuth2 password: []
|
||||
- Query: []
|
||||
paths:
|
||||
/articles/:
|
||||
|
||||
Reference in New Issue
Block a user