We are using Named Credential and Auth Provider to Generate Auth token and refresh token from Slack using oAuth 2.0.Then we use this Named Credential to call Slack APIs which works fine for next 12 hours. But once Slack Invalidates the Access token after 12 hours the callouts using Named Credentials starts failing and even though we have the refresh token in Named Credential the token does not get auto-refreshed as it is supposed to, and further We cannot access the Access token or Refresh token from Apex code to manually refresh the Access token.