Javascript SDK
The Bloq Javascript SDK enables you to work with Bloq services easily by simplifying authentication.
Last updated
The Bloq Javascript SDK enables you to work with Bloq services easily by simplifying authentication.
Last updated
const { auth } = require('@bloq/cloud-sdk')
const clientId = 'CLIENT_ID'
const clientSecret = 'CLIENT_SECRET'
const client = auth({ clientId, clientSecret })
client.accessToken().then(function (accessToken) {
// Use access token
})