Skip to main content

Questions tagged [security-token]

Filter by
Sorted by
Tagged with
0 votes
1 answer
135 views

Cannot parse JSON with new AMPscript function to retrieve token -- value is blank

So I've retrieved this json array below frommy api (obviously this is not the real token value), but this is the payload I'm receiving. {"access_token":"token","expires_in&...
en-rep's user avatar
  • 25
0 votes
1 answer
246 views

Auth Token Vulnerability with Lightning out

I have been assured by 2 Archtects that there is no security issue here but I want to ask the wider community because i sense a security vulnerability looming. Below is the standard markup for ...
Dane's user avatar
  • 167
-1 votes
2 answers
2k views

How to get Salesforce Security token without refreshing it

I want to get the Salesforce security token without refreshing or resetting it. /lightning/settings/personal/ResetApiToken/home I do have the option to Reset it but other users might be using it.
Zaveed Abbasi's user avatar
0 votes
2 answers
443 views

An invalid security token was provided - How to get support

I have a number of clients who use our integration with Salesforce Marketing Cloud. When things go astray it is quite difficult to resolve the issue as I have no access to the clients account. We use ...
Simon's user avatar
  • 1
0 votes
2 answers
727 views

If I would reset security token, then other developers using that account will lost connection?

We have one account in Salesforce which is used for development by 3 developers If I would reset the security token (in order to connect with environment via IDE), then all other developers would lose ...
NonameJavaNoob's user avatar
-1 votes
1 answer
801 views

OAuth Error when trying to get Token through JavaScript

I am setting up a connected application and am having trouble generating a bearer token through my JS code. I have it working perfectly through postman, as well as all of my get calls, I use postman ...
David Lascu's user avatar
1 vote
1 answer
217 views

Can we automate Security Token reset for automated testing? [closed]

We have automated tests that run on our sandboxes (not scratch org but traditional sandbox) prior to each release to production. This testing framework includes the generation and use of Salesforce ...
smohyee's user avatar
  • 3,856
0 votes
1 answer
149 views

How to set insecure API?

I set Secure API to site where client fills some data to form and this data in JSON format pushes to Salesforce. All values of grant_id, cliend_id, client_secret, username, password+security token in ...
oldgunner's user avatar
4 votes
1 answer
13k views

Why does my salesforce access token expire after a certain time?

I am running into an issue with one of our apps and am new to salesforce. We have an azure function that takes data and inserts into salesforce using the Salesforce Rest API. This usually works great. ...
user1299379's user avatar
0 votes
2 answers
2k views

Not able to find reset token option in sandbox instance

I am not able to find the Reset Security token Option under the settings option in my partial sandbox instance. Can someone please let me know how to find it. Or if I am missing out on anything. I am ...
Akshay Vasu's user avatar
-1 votes
1 answer
396 views

split userPassword and securityToken

Let's say we have 3rd party api that should reach salesforce. we want to transfer password and security token in using only one custom http header. is it possible to split these values? e.g. ...
pincet's user avatar
  • 933
0 votes
1 answer
2k views

How to reset Security Token of API Only User? [duplicate]

How to reset Security Token of API Only User ? I created a new user in salesforce exclusively for integration purpose. Got the welcome email,Verified Account and changed password. Prior to this, I ...
GroundToCloud's user avatar
0 votes
1 answer
2k views

Apex, HttpRequest, Named Credentials

i have to make an httpRequest with apex to an external site. Problem: I have to securely store an API Key somewhere in salesforce so that it's possible to use in apex The header of the request must ...
Eleos91's user avatar
  • 35
1 vote
1 answer
2k views

Why can't I reset my security token?

I need to get the Security Token so I can test an integration in with Salesforce, but I can't see the "Reset My Security Token" in my profile settings. I am using the default System ...
Deployment Failure's user avatar
0 votes
1 answer
694 views

Validate Salesforce Access Token via custom backend app

The usecase is very simple I have a client app SPA in Angular(APTTUS eCommerce) using Salesforce Login for User SignIn. I need to call a backend API(custom c# application) from the SPA to fetch data ...
Amyn's user avatar
  • 1
0 votes
0 answers
158 views

ID Token from OpenId Connect

We are using OpenId Connect for SSO into a Community with an external Identity Provider. It is easy to get the Access Token returned via AuthToken.getAccessToken. Is there any way get the ID Token (...
Matt Robison's user avatar
1 vote
1 answer
2k views

Can we reset security token using SFDX CLI?

I'm trying to find a way to reset default scratch org user's Security Token via CLI. Is that even possible?
VarunC's user avatar
  • 6,010
0 votes
1 answer
5k views

Ant Invalid username, password, security token; or user locked out

I am using ANT to build an xml file but get the following error: Error:[LoginFault [ApiFault exceptionCode='INVALID_LOGIN' exceptionMessage='Invalid username, password, security token; or user ...
Thomas's user avatar
  • 2,320
0 votes
1 answer
625 views

How to create JWT token for zoom?

I have tried Following code But It didnt work. Public Static String createToken() { String alg = 'HS256'; String typ = 'JWT'; String iss = '{API Key}'; String ...
Gulam Mustafa's user avatar
7 votes
1 answer
2k views

JWT Bearer Token flow for Community: Invalid Token

I'm implementing a JWT Bearer Token within Salesforce (Apex) so my customers can passwordlessly login to a community. Not sure if it is a good practice, but I done some research and saw some use cases ...
Sergio's user avatar
  • 183
2 votes
1 answer
620 views

How can I use REST API through OAuth?

For test purposes, I'm trying to use some customer's REST API on Salesforce. I don't have any API-consuming code yet (I'm just using CURL, OAuthDebugger, et similia). I've tried the following this ...
Andrea Ligios's user avatar
7 votes
0 answers
1k views

Calling Marketing Cloud REST API via webhook

I'm trying to work out a means of calling Salesforce Marketing Cloud's REST API via a third party webhook to write to a data extension. The issue I'm having involves refreshing the oauth token. We've ...
andrewb's user avatar
  • 81
0 votes
1 answer
350 views

Community Plus users are not able to get the attachment using standard salesforce API

We want to get attachment BLOB data using the standard salesforce API. See the API Docs link below. ([https://developer.salesforce.com/docs/api-explorer/sobject/Attachment/get-attachment-id]) We are ...
Ghanshyam Kumar's user avatar
1 vote
2 answers
3k views

Authentication token expired email from Marketing Cloud

I have noticed periodically I receive an email notification stating A Marketing Cloud Connect authentication token expired for this Marketing Cloud business unit and Salesforce org. When I log ...
Deployment Failure's user avatar
1 vote
0 answers
298 views

Tokenized Sending in Marketing Cloud

Does anyone know if setting up tokenized sending in marketing cloud is a one-time instance or would I need to set that up each time I trigger the API?
Chris Heppner's user avatar
0 votes
1 answer
252 views

How can I get the security token?

I'm trying to get the token security token with a profile for integration (custom profile) and with profile admin (view all) and I can not access the option to reset. I try go to "My personal ...
Rodolfo's user avatar
  • 326
1 vote
1 answer
295 views

Why I am not able to get token for sandbox?

I'm trying to get an access token for sandbox mode. My post request: { "clientId": "xxxxxxxxxx", "clientSecret": "xxxxxxx" } I'm sending the request to https://auth-test.exacttargetapis.com/v1/...
Gustavo Alejandro's user avatar
0 votes
1 answer
912 views

Connecting to metadata API in SOAP with token in PHP

I try to call retrieve in SOAP using PHP but I need to login before. For login, I have a token that I get from "https://test.salesforce.com/services/oauth2/token" So, I try to pass this token in the ...
Eva's user avatar
  • 1
1 vote
1 answer
394 views

Two factor authentication using Security token

I need to implement 2fatcor authentication but the requirement is to get login to envirnment using client provided Secrurity token(Hardware token). Once user entered username and security token ...
sudhanshu's user avatar
  • 115
1 vote
0 answers
84 views

One admin can get API tokens, but others can't

I have three users. All use the System Administrator profile, Salesforce licens as well as the same role and permission sets They're all using the same connected app client_id and client_secret. The ...
sberley's user avatar
  • 554
0 votes
1 answer
466 views

How to login from external app without using salesforce login redirection?

I want to be able to login via a .NET app using a custom login page on my app so I want no redirection to the salesforce login page. I want the process to be internal.  So how can I implement a way ...
dotname's user avatar
  • 69
0 votes
1 answer
411 views

Token generation for Einstein Sentiment API

I am trying to implement the sentiment api but having issue while generating the access token. I have uploaded einstein_platform.pem file in Files in Salesforce. ContentVersion con = [SELECT Title ...
Ashutosh Tripathi's user avatar
2 votes
1 answer
47 views

Can I use the oAuth access_token to get the final segment in the web service URL?

Kind of a weird question but I'm trying to get the web service URL. My SforceService() object in C# has the first part of the URL but the final segment of it I still need to get. I know I can query ...
Meyer Denney's user avatar
1 vote
1 answer
902 views

How to find out the security token in the org?

How to find out the security token in the org? I tried to go to Settings, but I do not see the option there.
iloveseven's user avatar
  • 1,115
4 votes
1 answer
4k views

I have an API User id and secret. Do I have everything I need to get an API Token?

Background: I'm developing a rails webapp that sends emails. I'm using the MarketingCloudSDK gem to interact with the salesforce API, ultimately to use the triggered emails feature. I'm not the ...
aseroff's user avatar
  • 43
4 votes
1 answer
8k views

How to determine the correct 'audience' and 'uri' when using OAuth 2.0 JSON Web Token (JWT) Bearer Token Flow

I have correctly been able to use "OAuth 2.0 Web Server Authentication Flow" and now I'd like to switch to "OAuth 2.0 JWT Bearer Token Flow". I wrote a test application in Node.js with the values two ...
Kris's user avatar
  • 305
0 votes
1 answer
380 views

How to create users for Connected App Web Server OAuth2 Authentication Flow with multiple users and tokens?

I currently have one IoT device updating data on Salesforce and it is using Salesforce Connected App and the Web Server OAuth2 Authentication Flow. Currently, there is two users created: ...
Kris's user avatar
  • 305
3 votes
1 answer
2k views

Solution to Tokenized Sending limitations in Salesforce Marketing Cloud(SFMC)

So our Prospect want to implement Tokenized Sending Features because they don't want to store data in SFMC before sending Email/SMS and want to use REST API to push data into SFMC but again they want ...
Pardeep Singh's user avatar
6 votes
1 answer
617 views

Is there a zero-downtime way to rotate the server credentials used by force-wsc?

I use force-wsc to connect to the SOAP API with a username and password/security token in production. As a best practice, I rotate the password (and therefore the security token) on this server ...
jon_wu's user avatar
  • 777
0 votes
1 answer
320 views

Where to store access key for Quickbooks integration

I am having to refactor a Quickbooks integration with Salesforce and am wondering the best way to store the credential information. The first developer used custom settings for most of the credentials ...
Zack Walton's user avatar
  • 1,626
5 votes
2 answers
14k views

Unable to see the Reset Security Token in my Salesforce org

I want to get the Security Token of my salesforce org. but the option is not visible in my org, I have navigated to below path and checked, but i am not able to see that Option. setup --> My ...
user50516's user avatar
2 votes
1 answer
2k views

Journey Builder Custom Activity: How to secure the UI endpoint url?

I created another post to ask how to load data extension in Custom Activity UI. Now another question: how can I secure the endpoint page, so I know it is from that Marketing Cloud Journey Builder ...
Bo Hu's user avatar
  • 809
0 votes
1 answer
406 views

REST API and Manage Package

We are going to be implementing a package for several clients and there are a few things we are wondering on how to accomplish this, I was hoping someone could give me a hand here. Let me explain ...
Carlos Naranjo's user avatar
4 votes
0 answers
237 views

SSO with Environment Hub: do hub-users still need to know the member-org-user's password to use API tools like eclipse, ANT or dataloader?

I've configure SSO with Environment Hub for a DE linked to our Hub. It works: hub-org-users can login without knowing the password on the mapped member-org-users. So far, so good. Now do I need to ...
Uwe Heim's user avatar
  • 28.5k
2 votes
1 answer
2k views

How can I avoid Salesforce expiring my password and/or token without warning?

I'm pushing back on the claims I've read that security tokens "only change when user changes the password, or regenerates the token." My API access stopped working unexpectedly, and I couldn't get ...
Ben Wheeler's user avatar
0 votes
1 answer
2k views

How to know the current security token [duplicate]

Step 1. Go to Your Name --> My Settings Step 2. select Personal | Reset My Security Token what shown above, creates new security token and sends email to the registered user. how can i know what is ...
Jayanth B's user avatar
0 votes
1 answer
1k views

CONFIRMATIONTOKEN URL Parameter

I am doing a sforce.console.openPrimaryTab() and want to open a Case, in a new console tab, once it has been clicked on. So far I have: VFP <apex:pageBlockTable value="{!caseOnCase}" var="item"&...
Olivia's user avatar
  • 3,471
2 votes
1 answer
2k views

Retrieve Security Token via APEX or a better way?

We have developed a portal accessed by users who use our product - a desktop application. In addition to what our desktop app does, it needs to make API calls directly to Salesforce, authenticated as ...
Gotts's user avatar
  • 121
5 votes
1 answer
351 views

Storing OAuth Credentials

I have the following issue and need an advice on how to approach it. I connect to a third party system which generates a JWT token. The problem is that the token expires every 15 minutes and I'am not ...
Kostadin Stoev's user avatar
1 vote
0 answers
29 views

API Token expires when switching to LIghtning Experience

I have integrated salesforce with my website so that I can use the API's for syncing contacts and leads. I store the Access token and refresh token in my database and I use them to make API calls ...
Furquan Khan's user avatar