ToolJet/plugins/packages/common
Muhsin Shah C P 638fcf7223
[Feature] Now multiple users can login through RestAPI-Oauth 🚀 (#4052)
* Implemented multiple access token feature
- working on refresh token case

* worked on refresh token flow

* added multiple token ability to openapi plugin too
- fixed some bugs

* changed tokenData to token_data
- fixed some issues

* added user type with user id

* changed user type

* Rewrote some function
- added switch for enabling and disable multi auth
- fixed some bugs
- refactored the code

* fixed view app issue

* Fixed public app issue

* cleaning some code

* (public_app) add a check to avoid oauth login redirect when there is no access token

* reverted all changes of openapi (temporary)
- will add multi token functionality once done with restapi

* fixed a bug

* fixed a bug

* refactored some code

* changed the switch text

* pr changes

* changed token_data back to tokenData

* cleaning code

* removed token data from datasources query

* removed some lines

* added a comment
2022-09-19 20:27:37 +05:30
..
__tests__ chore/plugins: fixes lint warning and errors (#2502) 2022-03-14 15:05:02 +05:30
lib [Feature] Now multiple users can login through RestAPI-Oauth 🚀 (#4052) 2022-09-19 20:27:37 +05:30
.gitignore Move plugins to root (#1728) 2022-01-17 12:38:17 +05:30
package-lock.json Move plugins to root (#1728) 2022-01-17 12:38:17 +05:30
package.json Added configuration to select plugins (#3024) 2022-05-20 19:32:46 +05:30
README.md Move plugins to root (#1728) 2022-01-17 12:38:17 +05:30
tsconfig.json Move plugins to root (#1728) 2022-01-17 12:38:17 +05:30

common

TODO: description

Usage

const common = require('common');

// TODO: DEMONSTRATE API