function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VinayChauhan57VinayChauhan57 

It is Possible to Generate Access Token without using Username and Password ?

Hello,

There is any way to generate Access Token Without Using Username and Password not even login on web form also ? Just Using Client Id ,Client Secret or other rather than including password  Using REST API.

I also tried OAuth Web Server API flow and OAuth User Agent API flow can issue a refresh and access token but the user has to go through an Browser to login and authorize the App. So you agree with me it's not so much user-friendly for a Customer. So, there is any way to remove this login and Authorization part.

It is mandatory to  use Username and Password to get Access or Refresh Token using REST API ?

There is one more question it is possible to  get access token any time using Refresh token ?
 
Albar KhanAlbar Khan
I am also looking for the same solution. Can you provide it (https://cryptoinsiderz.com/)?
Bhushan NBhushan N
Hi Vinay
Do you have separate identiy provider? If yes, you can retrieve access token using SSO (Salesforce acting as Service Provider).
When we create connected app in Salesforce, we have option to use SAML instead of oAuth. I think this would fit perfectly.

Thanks.
B
Jessica S. DimondJessica S. Dimond
Our Self Managed Super Fund Crypto specialists take the stress out of setting up a crypto smsf (https://www.newventurewealth.com.au/) and other asset investing by guiding you step by step through the process, whilst offering affordable application and running costs along the way.