Janrain Social Login fails on localhost

153 views Asked by At

I have been using a java/javascript/angular login process using Janrain Social Login for a while and everything has worked well both locally and deployed to the web. A few days ago, the localhost implementation stopped working...

What happens: 1. User clicks a login button on the webpage 2. Code calls Janrain's widget.init() and that all works because a login panel with 4 providers pops up. All normal to this point. 3. I click on the Google button to log in via Google. 4. Pretty quickly, on localhost, a pop-up returns with 'Token URL is not whitelisted' and everything stops.

There have been no changes to the whitelist or the login code. The whitelist (on Janrain dashboard) simply has 'localhost', just as the documentation says it should.

Does anyone have any ideas on where i should even start looking? Janrain's documentation is not helpful.

0

There are 0 answers