Re: GSOC 2016 - Authentication on the Mifos REST API

2016-07-12 Thread Daniel Carlson
The main.js file has functions which call it. The function itself is in the services.js Cheers! Daniel Carlson On Tue, Jul 12, 2016 at 11:27 AM, Shreyaank Byadagi < shreya...@confluxtechnologies.com> wrote: > Hi daniel, > Which controller is calling the authentication service? > > Regards >

RE: GSOC 2016 - Authentication on the Mifos REST API

2016-07-12 Thread Mifos @omexit
Hi, Can you get error logs of your application when you get error 500? It means internal server error, which may describe why. From: Daniel Carlson [mailto:dancarl...@gmail.com] Sent: Tuesday, July 12, 2016 7:32 AM To: Nayan Ambali ; Omexit Mifos

Re: GSOC 2016 - Authentication on the Mifos REST API

2016-07-12 Thread Shreyaank Byadagi
Hi daniel, Which controller is calling the authentication service? Regards Shreyaank On Tue, Jul 12, 2016 at 3:34 PM, Daniel Carlson wrote: > Hi Shreyank, > > This is the github link: > https://github.com/DanCarl857/Mobile-Application/tree/master/frontend-app > > Thanks >

Re: GSOC 2016 - Authentication on the Mifos REST API

2016-07-12 Thread Daniel Carlson
Hi Shreyank, This is the github link: https://github.com/DanCarl857/Mobile-Application/tree/master/frontend-app Thanks Cheers! Daniel Carlson On Tue, Jul 12, 2016 at 10:07 AM, Shreyaank Byadagi < shreya...@confluxtechnologies.com> wrote: > Hi Daniel, > Please share your code I will look into

Re: GSOC 2016 - Authentication on the Mifos REST API

2016-07-12 Thread Shreyaank Byadagi
Hi Daniel, Please share your code I will look into your code base and try to fix it Regards Shreyaank On Tue, Jul 12, 2016 at 1:01 PM, Daniel Carlson wrote: > Hi Shreyaank, > > But when I use that from within my code. Like for example when the user > logs in, they enter

Re: GSOC 2016 - Authentication on the Mifos REST API

2016-07-12 Thread Daniel Carlson
Hi Nikhil, Terence, I wanted to do this from within the code as it is part of the login service for my app. Terence that solved it thanks. Many heads are indeed better than one. Cheers! Daniel Carlson On Tue, Jul 12, 2016 at 7:51 AM, Nikhil Pawar wrote: > Hey Daniel, > >

Re: GSOC 2016 - Authentication on the Mifos REST API

2016-07-12 Thread Nikhil Pawar
Hey Daniel, Need not pass username and password as query parameter.(its not GET method) Try this: https://localhost:8443/fineract-provider/api/v1/offices?tenantIdentifier=default and then you will be asked for username and password. You can also use clients like Postman for chrome or RESTClient

Re: GSOC 2016 - Authentication on the Mifos REST API

2016-07-12 Thread Daniel Carlson
Hi Terence, Thanks but I already tried that. Cheers! Daniel Carlson On Tue, Jul 12, 2016 at 7:34 AM, Terence Monteiro < tere...@sanjosesolutions.in> wrote: > Hi Daniel, > > The URL you used needs to have username=mifos=password so remove > the extra %22 codes and try. > > -- > Best Regards, >

Re: GSOC 2016 - Authentication on the Mifos REST API

2016-07-12 Thread Terence Monteiro
Hi Daniel, The URL you used needs to have username=mifos=password so remove the extra %22 codes and try. -- Best Regards, Terence Monteiro, Mob: +91 96633 13728 www.sanjosesol.com "Providence", No. 36, Ahmed Sait Road, Frazer Town, Bangalore - 5. On Tue, Jul 12, 2016

Re: GSOC 2016 - Authentication on the Mifos REST API

2016-07-11 Thread Daniel Carlson
Hi, I already have those. When I use my local server, after installing a plugin to enable CORS, I get a 500 error code I am using this link locally: https://localhost:8443/fineract-provider/api/authentication?username=%22mifos%22=%22password%22=default That is the link from within my code And

Re: GSOC 2016 - Authentication on the Mifos REST API

2016-07-11 Thread Shreyaank Byadagi
Hi Daniel , please add following headers in REST client "Fineract-Platform-TenantId: default" and "Content-Type: application/Json" Regards Shreyaank On 12-Jul-2016 10:29 AM, "Shreyaank Byadagi" < shreya...@confluxtechnologies.com> wrote: > Hi Daniel, > To which server your communicating ? Demo

Re: GSOC 2016 - Authentication on the Mifos REST API

2016-07-11 Thread Shreyaank Byadagi
Hi Daniel, To which server your communicating ? Demo server or local server Regards Shreyaank On 12-Jul-2016 10:01 AM, "Daniel Carlson" wrote: > Hi all, > > For my Google Summer of Code project for this year, I need to get data from > the Mifos platform. To that, according