This commit is contained in:
andrew-ld 2021-01-23 12:57:05 +00:00
parent d01cb77ded
commit 228c40bec8
14 changed files with 17 additions and 16 deletions

View File

@ -31,8 +31,9 @@
isValid = qp.state === sentState
if ((
oauth2.auth.schema.get("flow") === "accessCode"||
oauth2.auth.schema.get("flow") === "authorizationCode"
oauth2.auth.schema.get("flow") === "accessCode" ||
oauth2.auth.schema.get("flow") === "authorizationCode" ||
oauth2.auth.schema.get("flow") === "authorization_code"
) && !oauth2.auth.code) {
if (!isValid) {
oauth2.errCb({

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/swagger-ui.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/swagger-ui.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,7 @@ tags:
- name: modified
description: These methods are modified in the tdlight-bot-api
paths:
/userlogin:
/userLogin:
post:
tags:
- added
@ -55,7 +55,7 @@ paths:
Use this method to receive the authorization token to log in as user.
Note: You don't have your token yet, so the domain is just {base_url}/userlogin
Note: You don't have your token yet, so the domain is just {base_url}/userLogin
Returns an `AuthorizationState` with the user token on success.
requestBody: