Timeline for Auth Provider with per-user Named Credential
Current License: CC BY-SA 4.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 17 at 22:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 11 at 23:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 7 at 11:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 5, 2023 at 11:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 7, 2023 at 21:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 9, 2023 at 19:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 5, 2022 at 13:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 4, 2022 at 18:07 | answer | added | Kyle | timeline score: 0 | |
Jun 18, 2020 at 17:14 | history | edited | identigral | CC BY-SA 4.0 |
edited title
|
May 20, 2020 at 0:08 | comment | added | mtbclimber | Thanks @identigral. Looks like DML in Apex is a no go, '!illegal.dml.object!' error being returned on compile attempt. Strange enough it does show as createable in the SOAP API Doc Doesn't appear that this object is available in the MDAPI which seems to make sense given it can contain per-user secrets. For this reason as well as another (unattended 3rd party api access requirement) It seems NamedCredentials just aren't going to work for me unfortunately. Thanks for all your responses! | |
May 19, 2020 at 8:31 | comment | added | identigral |
You'd have to manipulate ExernalDataUserAuth object via Metadata API or (if you're really brave) via DML in Apex.
|
|
May 18, 2020 at 20:00 | comment | added | mtbclimber | Thanks again @identigral! I don't have an external data source (visible one anyway) but did try this approach with the Named Credential. It didn't seem to help. Is there another mechanism to get the row to show up in the User related list labeled "Authentication Settings for External Systems" beyond what's in help? | |
May 18, 2020 at 4:50 | comment | added | identigral | Try adding the external data source to Profile and/or Permission Sets of your user(s) | |
May 18, 2020 at 3:09 | comment | added | mtbclimber | Thanks @identifral, I did see that question and that does solve the problem but not the way I’m hoping to find. Based on that solution my user authenticates and registers through the auth provider and then has to be instructed to go through and basically do the same thing again and for communities it’s especially awkward. Doesnt seem like I should have to move away from NamedCredentials to get the right user experience. | |
May 18, 2020 at 1:48 | review | Close votes | |||
May 30, 2020 at 4:44 | |||||
May 18, 2020 at 1:29 | comment | added | identigral | Does this answer your question? Use of Named Credentials seem to be tied to External Data Source | |
May 17, 2020 at 20:25 | review | First posts | |||
May 18, 2020 at 7:21 | |||||
May 17, 2020 at 20:24 | history | asked | mtbclimber | CC BY-SA 4.0 |