These are chat archives for ushahidi/Community

24th
Oct 2016
Zeeshan Shah
@Zkage
Oct 24 2016 17:19
@rjmackay how about this one; now i am getting a grant type error
blob
Zeeshan Shah
@Zkage
Oct 24 2016 17:58
finally got it to work through this
blob
Ushbot
@ushbot
Oct 24 2016 18:05
[Robbie Mackay, Ushahidi] client credentials will work but it won’t give you admin access.
[Robbie Mackay, Ushahidi] ie. you’ll only see posts that are already public.
[Robbie Mackay, Ushahidi] @zkage did you set a “Content-type” header on your password grant request?
[Robbie Mackay, Ushahidi] I suspect you need to send “Content-type: application/json” otherwise it can’t parse the params.
Zeeshan Shah
@Zkage
Oct 24 2016 18:07
let me give it a shot
blob
Ushbot
@ushbot
Oct 24 2016 18:17
[Robbie Mackay, Ushahidi] @zkage Odd. grant_type is definitely correct. I realised scope is wrong it should be space separated, not comma separated
[Robbie Mackay, Ushahidi] I’m on a call right now. but I’ll try it out with postman myself after this
Zeeshan Shah
@Zkage
Oct 24 2016 18:51
goti t
blob
malformed" " "
thanks @rjmackay ! i will move tot he next step of things
this should allow admin access ?
Ushbot
@ushbot
Oct 24 2016 18:56
[Robbie Mackay, Ushahidi] If thats an admin user, then yes.
[Robbie Mackay, Ushahidi] Wait so the issue was the wrong type of quote somewhere?
Zeeshan Shah
@Zkage
Oct 24 2016 19:02
yes
now both types have worked through the postman auth2.0 feature plus using the curl snippet
Ushbot
@ushbot
Oct 24 2016 19:17
[Robbie Mackay, Ushahidi] cool
Robbie Mackay
@rjmackay
Oct 24 2016 19:42
@Zkage are you in touch with anyone else at Ushahidi? (Jess, Angela or Chris?)
I'd love to hear more about the project you're working on.. I'm sure others would too.