rcfox
(Ryan Fox)
2 فبراير 2015، 5:17م
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)
rcfox
(Ryan Fox)
2 فبراير 2015، 6:05م
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)
17 فبراير 2015، 4:04م
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)
17 فبراير 2015، 4:10م
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)
david
(David Taylor)
تم إغلاقه في
10 نوفمبر 2020، 2:33م
6
dots in external_ids are now supported