Thanks, but I don’t have the external_id when the user is created. The user is created programmatically, and the association with the external SSO won’t happen until the user logs in to Discourse. Unless there is a way to programmatically associate the user with that external_id during user migration, I don’t think external_id can be used.
vagosduke
(Vagelis Duke)
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| API Create user external_ids parameter | 1 | 1273 | December 20, 2022 | |
| A way for admins to edit users' external IDs | 10 | 2941 | February 25, 2019 | |
| Find user by external ID (SSO) | 9 | 4415 | November 10, 2020 | |
| Using external_id via API | 2 | 1345 | January 24, 2023 | |
| Is it possible to get a user by its Discourse ID from the Discourse API? | 5 | 1893 | July 6, 2018 |