Need guidance on updating the email account table for automatic OAuth token refresh via Slack integr

Sathwik1
Tera Expert

I’m currently working on setting up OAuth authentication with automatic token renewal using the scheduled job “Refresh Email Access Token.”

 

From my understanding, this scheduled job requires a corresponding record in the Email Account table in order to run successfully. Since we also have Slack integration in place, could someone please clarify what specific fields or details need to be populated in the Email Account table to ensure that access tokens are refreshed automatically?

 

Additionally, are there any extra steps, configuration requirements, or best practices I should be aware of to ensure this setup works reliably?

 

and also I here that, if we use OOB Spoke, then servicenow only updates it automatically.. here we are use OOB Spoke for slack.. so is it expected to work?

 

@Ankur Bawiskar 

17 REPLIES 17

Ok, can you also please see "Refresh Email Access Token" schedule job..

 

In this first line of schedule job, there are doing gliderecord on the email account table. what exactly it refers too.. If let's say... for slack integration if I use grant type as "client credentials" then should I need to create an record in the email account table to utilise OOB token renewal functionality..

 

I understand that we can create a new schedule job... but just want to know what exactly the purpose of email account table and whether we can link slack to email account table.


@Ankur Bawiskar 

@Sathwik1 

is that schedule job OOTB?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar  when you have some time.. please look and help with your findings..

Sathwik1
Tera Expert

@Matthew_13 can you please look into my issue