You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The comma in "interval" key - value pair in object is commented, so the object returns an error.
Actual code snippet:
const refresh = createRefresh({
interval: 10 // The time in sec to refresh the Access token,
refreshApiCallback: async (param) => {
Correct code snippet:
const refresh = createRefresh({
interval: 10, // The time in sec to refresh the Access token
refreshApiCallback: async (param) => {
The text was updated successfully, but these errors were encountered:
A friend of mine started using this library and found a problem with the usage section on this URL: https://authkit.arkadip.dev/getting_started/refreshtoken/#usage
The comma in "interval" key - value pair in object is commented, so the object returns an error.
Actual code snippet:
const refresh = createRefresh({
interval: 10 // The time in sec to refresh the Access token,
refreshApiCallback: async (param) => {
Correct code snippet:
const refresh = createRefresh({
interval: 10, // The time in sec to refresh the Access token
refreshApiCallback: async (param) => {
The text was updated successfully, but these errors were encountered: