Skip to content

A repository to show QuickBase developers how to use JavaScript to acquire and implement temporary authorization tokens in code pages.

Notifications You must be signed in to change notification settings

Dukemister/quick_base_temp_auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

quick_base_temp_auth

A repository to show QuickBase developers how to use JavaScript to acquire and implement temporary authorization tokens in code pages.

There seems to not be much awareness in the QB community on how to easily use Temp Auth tokens. The App token approach doesn't allow for child table access. The direct table DBID way ensues many fetch requests which can be long and confusing. This leaves developers relying on the older XML requests. I have been scratching my head about this and have come up with a solution I'd like to expose to the community.

I have used JS ES6 async / await syntax which I find more readable than the Promise/.then code which comes out of the box from the QB API service.

Please have a look and refine my code if you find a cleaner approach.

Pre-requsites:

For me this code has successfully:

  • Obtained 4 Temp Auth codes
  • Used them to fire 4 API calls
  • Retrieve required data and used it to manipulate HTML elements.

About

A repository to show QuickBase developers how to use JavaScript to acquire and implement temporary authorization tokens in code pages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published