rcfox
(Ryan Fox)
February 2, 2015, 5:17pm
1
I noticed that the API includes a by-external route, which seems to allow you to get user data by the SSO external id, which is great. Unfortunately, it doesn’t seem to work with external_ids that have periods in them.
It looks like this is a common issue with Rails . Could you fix this?
Thanks!
1 Like
rcfox
(Ryan Fox)
February 2, 2015, 6:05pm
2
I made a pull request: https://github.com/discourse/discourse/pull/3163
I barely know what I’m doing with Ruby and next to no idea about Rails, so I’m not sure if there’s a better way to do this.
rcfox
(Ryan Fox)
February 17, 2015, 4:04pm
3
It’s been over two weeks since I reported this bug… It’d be nice to hear if this is something you plan to fix, or not.
Thanks.
downey
(Michael Downey)
February 17, 2015, 4:10pm
4
UPDATED:
Here is the correct url: mydiscoursesite.com/users/by-external/1.json
I am having problems using the by-external route.
Should the following url work?
mydiscoursesite.com/users/by-external/1
(1
being the external id from the SSO user table)
cc @mbeale
1 Like
david
(David Taylor)
Closed
November 10, 2020, 2:33pm
6
dots in external_ids are now supported