+ Start a Discussion
Medhanie HabteMedhanie Habte 

Bypass Salesforce login page when trying to access record using Url/scan from QR code

Greetings, 

Our team is developing a QR code system, in which we have the ability to access certain salesforce records using the QR code provided. The QR Code has a url of the salesforce record intact. I am trying to figure out a way in which I can scan the code and it bypasses the login page to go directly to the record. I have no issues with accessing in Salesforce1. I surmise this might be a matter of Single Sign On.
Best Answer chosen by Medhanie Habte
Hargobind_SinghHargobind_Singh

Hi Medhanie, 
You have two options: 

1. Expose your record as a visualforce page on Force.com sites, but then it would become publicly accessible. 
2. Setup single sign-on so that your links can directly sign-on and then redirect to your page, an example of URL would be: 

 

https://login.salesforce.com/services/auth/sso/{your-18-char-org-id}/{your-auth-provider}
?startURL=%2F{record-id}

Details about single-sign on can be found in the implementation guide: https://help.salesforce.com/help/pdfs/en/salesforce_single_sign_on.pdf

=========

ps: If your problem/question is resolved/answered, please mark your post as 'Solved' so that the community can benefit with resolution of issues.