{"id":38533,"date":"2022-07-25T16:52:48","date_gmt":"2022-07-25T16:52:48","guid":{"rendered":"https:\/\/www.123formbuilder.com\/docs\/?p=38533"},"modified":"2022-08-26T07:39:43","modified_gmt":"2022-08-26T07:39:43","slug":"salesforce-refresh-token","status":"publish","type":"post","link":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/","title":{"rendered":"[AppExchange \u2013 123FormBuilder] Refresh token for 123FormBuilder app"},"content":{"rendered":"\n<p>123FormBuilder is an OAuth-enabled connected app integrated with Salesforce. It can access a subset of your Salesforce data after you explicitly grant app permission and obtain an access token. In this article, you will learn how to refresh the OAuth token.<\/p>\n\n\n\n<p>OAuth 2.0 is an open protocol that authorizes secure data sharing between applications through the exchange of tokens. Therefore, the <a href=\"https:\/\/www.123formbuilder.com\/docs\/123formbuilder-app-introduction\/\">form builder Salesforce app<\/a> needs a valid token in order to access the Salesforce data and to allow the set up of lookups and object mappings on the form.<\/p>\n\n\n\n<p>If the token expires and you have lookup on the form, in View form you will most likely see a similar message:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/logerrormessage.png\" alt=\"error message\" width=\"646\" height=\"212\"\/><\/figure><\/div>\n\n\n\n<p>Tokens are set to expire as a security best practice, but you can refresh the token at any time.&nbsp;<\/p>\n\n\n\n<p>In order to see the <b>Refresh token policy for the 123FormBuilder app go to Setup, search for Connected Apps OAuth Usage, find 123ContactForm<\/b> and click <b>Manage App Policies<\/b>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/manageapps.png\" alt=\"manage apps\" width=\"790\" height=\"392\"\/><\/figure><\/div>\n\n\n\n<p>In the <b>Manage App Policies<\/b> screen, scroll to the <b>OAuth Policies<\/b> section. On the right side, you will see the <b>Refresh Token Policy<\/b>. If you need to change it, just click <b>Edit Policies<\/b> at the top.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/refreshtoken.png\" alt=\"refresh token policy\"\/><\/figure><\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-refresh-the-token\">How to Refresh the token?<\/h2>\n\n\n\n<p>There are two possible ways of refreshing the token:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><b>Per entire application<\/b><br>&#8211; Go to <b>Setup<\/b> and search for <b>Connected Apps OAuth Usage<\/b>. Find 123ContactForm, click <b>Block<\/b> and then <b>Unblock<\/b>:<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/appblock.png\" alt=\"refresh per app\"\/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li><b>Per individual user<\/b><br>&#8211; Go to <b>Setup<\/b> and select <b>Users<\/b>. Once you find the user hover the <b>OAuth Connected Apps<\/b> section. Find 123ContactForm and click <b>Revoke<\/b>:<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/userreset.png\" alt=\"refresh per user\" width=\"844\" height=\"190\"\/><\/figure><\/div>\n\n\n\n<div class=\"warningBox\"><span style=\"font-size: 16px\"><p><b>Important Note <\/b><\/p>Once the token is revoked (per entire app or individual user), you&#8217;ll need to access the 123FormBuilder app in order to Re-authorize it.<\/span><\/div>\n\n\n\n<p>Search in the App Launcher for 123FormBuilder, click the app and go to the 123FormBuilder tab. Choose the server where your 123FormBuilder account is (US or EU) and Authorize the app.<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/re-auth.JPG\" alt=\"authorize app\" width=\"485\" height=\"416\"\/><\/figure><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/allowaccess.JPG\" alt=\"allow access\" width=\"292\" height=\"416\"\/><\/figure><\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p><b>Related articles<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.123formbuilder.com\/docs\/123formbuilder-installation\/\">[123FormBuilder &#8211; AppExchange] Installation<\/a><\/li><li><a href=\"https:\/\/www.123formbuilder.com\/docs\/lookup-fields\/\">[123FormBuilder &#8211; AppExchange] Lookup fields<\/a><\/li><li><a href=\"https:\/\/www.123formbuilder.com\/docs\/how-to-create-records-in-custom-salesforce-objects\/\">[123FormBuilder &#8211; AppExchange] How to create records in custom Salesforce objects?<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>123FormBuilder is an OAuth-enabled connected app integrated with Salesforce. It can access a subset of your Salesforce data after you explicitly grant app permission and obtain an access token. In this article, you will learn how to refresh the OAuth token. OAuth 2.0 is an open protocol that authorizes secure data sharing between applications through [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":-1,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[134],"tags":[],"class_list":["post-38533","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-123formbuilder-appexchange"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Help: Refresh token in Salesforce | 123FormBuilder<\/title>\n<meta name=\"description\" content=\"123FormBuilder is an OAuth-enabled connected app integrated with Salesforce. Here you will learn how to refresh the OAuth token.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[AppExchange \u2013 123FormBuilder] Refresh token for 123FormBuilder app\" \/>\n<meta property=\"og:description\" content=\"123FormBuilder is an OAuth-enabled connected app integrated with Salesforce. Here you will learn how to refresh the OAuth token.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/\" \/>\n<meta property=\"og:site_name\" content=\"123FormBuilder Knowledge Base\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-25T16:52:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-26T07:39:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/logerrormessage.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Help: Refresh token in Salesforce | 123FormBuilder","description":"123FormBuilder is an OAuth-enabled connected app integrated with Salesforce. Here you will learn how to refresh the OAuth token.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/","og_locale":"en_US","og_type":"article","og_title":"[AppExchange \u2013 123FormBuilder] Refresh token for 123FormBuilder app","og_description":"123FormBuilder is an OAuth-enabled connected app integrated with Salesforce. Here you will learn how to refresh the OAuth token.","og_url":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/","og_site_name":"123FormBuilder Knowledge Base","article_published_time":"2022-07-25T16:52:48+00:00","article_modified_time":"2022-08-26T07:39:43+00:00","og_image":[{"url":"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/logerrormessage.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/#article","isPartOf":{"@id":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/"},"author":{"name":"admin","@id":"https:\/\/www.123formbuilder.com\/docs\/#\/schema\/person\/ac765b93d6689ec0f4ee6f6e040d66ea"},"headline":"[AppExchange \u2013 123FormBuilder] Refresh token for 123FormBuilder app","datePublished":"2022-07-25T16:52:48+00:00","dateModified":"2022-08-26T07:39:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/"},"wordCount":342,"commentCount":2,"image":{"@id":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/#primaryimage"},"thumbnailUrl":"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/logerrormessage.png","articleSection":["AppExchange"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/","url":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/","name":"Help: Refresh token in Salesforce | 123FormBuilder","isPartOf":{"@id":"https:\/\/www.123formbuilder.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/#primaryimage"},"image":{"@id":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/#primaryimage"},"thumbnailUrl":"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/logerrormessage.png","datePublished":"2022-07-25T16:52:48+00:00","dateModified":"2022-08-26T07:39:43+00:00","author":{"@id":"https:\/\/www.123formbuilder.com\/docs\/#\/schema\/person\/ac765b93d6689ec0f4ee6f6e040d66ea"},"description":"123FormBuilder is an OAuth-enabled connected app integrated with Salesforce. Here you will learn how to refresh the OAuth token.","breadcrumb":{"@id":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/#primaryimage","url":"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/logerrormessage.png","contentUrl":"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/logerrormessage.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.123formbuilder.com\/docs\/salesforce-refresh-token\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.123formbuilder.com\/docs\/"},{"@type":"ListItem","position":2,"name":"[AppExchange \u2013 123FormBuilder] Refresh token for 123FormBuilder app"}]},{"@type":"WebSite","@id":"https:\/\/www.123formbuilder.com\/docs\/#website","url":"https:\/\/www.123formbuilder.com\/docs\/","name":"123FormBuilder Knowledge Base","description":"Search our documentation platform for answers, service specifications and 3rd-party integrations.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.123formbuilder.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.123formbuilder.com\/docs\/#\/schema\/person\/ac765b93d6689ec0f4ee6f6e040d66ea","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/41383a571ede8f1257b128aa53a410cc1ea4c1901ac8cea3776cba5438d24843?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2Fadmin%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/41383a571ede8f1257b128aa53a410cc1ea4c1901ac8cea3776cba5438d24843?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2Fadmin%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/41383a571ede8f1257b128aa53a410cc1ea4c1901ac8cea3776cba5438d24843?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2Fadmin%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","caption":"admin"},"url":"https:\/\/www.123formbuilder.com\/docs\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/posts\/38533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/comments?post=38533"}],"version-history":[{"count":42,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/posts\/38533\/revisions"}],"predecessor-version":[{"id":43781,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/posts\/38533\/revisions\/43781"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/media?parent=38533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/categories?post=38533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/tags?post=38533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}