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
Jasmeen Kaur 22Jasmeen Kaur 22 

Call Back URL in Lightning

Hello Experts

I want some help on call back URL for lightning.
I have used a call back URL " https://login.salesforce.com/services/oauth2/success". But this one is bringing the classic view in salesforce.

Can someone please help me how i can make this to open a lightning view?

Thanks in advance
Jasmeen 
ANUTEJANUTEJ (Salesforce Developers) 
Hi Jasmeen,

>> https://salesforce.stackexchange.com/questions/20559/what-is-the-use-of-setting-oauth-callback-url-as-https-login-salesforce-com-se

>> https://developer.salesforce.com/forums/?id=906F0000000DEDYIA4

Please check below post for call back URL
1) https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/quickstart_oauth.htm
2) https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_defining_remote_access_applications.htm
3) https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/intro_using_oauth.htm

Callback URL (redirect_uri)
A URL associated with your client application. In some contexts, this must be a real URL that the client’s Web browser is redirected to. In others, the URL isn’t used; however, between your client application and the server (the connected appdefinition) the value must be the same. For example, you may want to use a value that identifies the application, such as http://mycomponent.myapp.

Can you try checking the above link solutions?

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.