Skip to content

Commit 98607fe

Browse files
jrupeshamtrack
andauthored
Update src/plugins/auth-providers/index.ts
Co-authored-by: Matthias Rolke <mr.amtrack@gmail.com>
1 parent 798f78c commit 98607fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/auth-providers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const CONSUMER_SECRET_SELECTOR = '#ConsumerSecret';
55
const CONSUMER_KEY_SELECTOR = '#ConsumerKey';
66
const SAVE_BUTTON_SELECTOR = 'input[id$=":saveBtn"], #topButtonRow > input[name="save"], button[title="Save"]';
77

8-
const getUrl = (orgId: string): SalesforceUrlPath => `/${orgId}/e` as SalesforceUrlPath;
8+
const getUrl = (orgId: string): SalesforceUrlPath => `/${orgId}/e?retURL=/${orgId}` as SalesforceUrlPath;
99

1010
type AuthProviderConfig = {
1111
consumerSecret?: string;

0 commit comments

Comments
 (0)