Timeline for Salesforce OAuth Connected App in Url Tab
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 22, 2017 at 5:46 | vote | accept | martin | ||
Jan 18, 2017 at 9:26 | answer | added | martin | timeline score: 1 | |
Jan 18, 2017 at 5:30 | answer | added | Ashwani | timeline score: 0 | |
Jan 18, 2017 at 5:25 | comment | added | Ashwani |
No, don't give this url (ap4.salesforce.com/setup/secur/…) instead give that correct one which looks like this: https://login.salesforce.com/services/oauth2/authorize?response_type=code&client_id=<your_client_id>&redirect_uri=<your_redirect_uri> . I believe this is the answer.
|
|
Jan 18, 2017 at 5:23 | comment | added | martin | @Ashwani that's how url tabs work... | |
Jan 18, 2017 at 5:23 | comment | added | Ashwani | That should be for obvious reason because first time user will have to go though login.salesforce.com. Once the app is approved it directly redirect to the org instance. With Iframe this won't work. I am just curious why iframe is needed. | |
Jan 18, 2017 at 5:20 | comment | added | martin |
@Ashwani The problem is that the salesforce page with the Allow and Deny buttons is being blocked by web browsers when the page is put in an iframe. Whereas the page returned from a request to the same host/path that just returns the javascript redirection to the redirect url is not blocked.
|
|
Jan 18, 2017 at 5:07 | comment | added | Ashwani | Are you reaching to url like: ap4.salesforce.com/*definedRedirectURL*?code=aWxxxxxsade...c ? | |
Jan 18, 2017 at 4:57 | comment | added | martin | @Ashwani I've updated my question, it isn't the redirect URL that's giving me trouble, it's the authorization page. | |
Jan 18, 2017 at 4:56 | history | edited | martin | CC BY-SA 3.0 |
added 483 characters in body
|
Jan 18, 2017 at 4:35 | comment | added | Ashwani | I never saw a connected App on UI. How does it look like? However it looks like the redirect URL is not matching. | |
Jan 18, 2017 at 4:00 | history | asked | martin | CC BY-SA 3.0 |