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 isValid = qp.state === sentState
if (( if ((
oauth2.auth.schema.get("flow") === "accessCode"|| oauth2.auth.schema.get("flow") === "accessCode" ||
oauth2.auth.schema.get("flow") === "authorizationCode" oauth2.auth.schema.get("flow") === "authorizationCode" ||
oauth2.auth.schema.get("flow") === "authorization_code"
) && !oauth2.auth.code) { ) && !oauth2.auth.code) {
if (!isValid) { if (!isValid) {
oauth2.errCb({ 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 - name: modified
description: These methods are modified in the tdlight-bot-api description: These methods are modified in the tdlight-bot-api
paths: paths:
/userlogin: /userLogin:
post: post:
tags: tags:
- added - added
@ -55,7 +55,7 @@ paths:
Use this method to receive the authorization token to log in as user. 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. Returns an `AuthorizationState` with the user token on success.
requestBody: requestBody: