peatio icon indicating copy to clipboard operation
peatio copied to clipboard

Barong doesn't seem to work correctly

Open Coding-Jewelry opened this issue 8 years ago • 3 comments

I have installed rubykube peatio on my instance (http://35.226.198.87), and currently Barong authentication is used. I think that configuration settings related Barong is already setup. The problem is, when I click "Sign in With Barong" button, then it goes to Barong login page. And when I login successfully, then it doesn't redirect to Peatio page, still remains on Barong page. I am not sure how I can fix this problem.

Please let me know if you have a solution. Thanks.

Coding-Jewelry avatar Jun 18 '18 09:06 Coding-Jewelry

Can you show your BARONG_OAUTH2_REDIRECT_URL?

yivo avatar Jun 18 '18 10:06 yivo

Current BARONG_OAUTH2_REDIRECT_URL is: "http://<%= ENV.fetch('SERVER_IP', '127.0.0.1') %>/auth/barong/callback"

Is this incorrect? If yes, how should I change it?

Coding-Jewelry avatar Jun 18 '18 20:06 Coding-Jewelry

Leave it blank.

yivo avatar Jun 25 '18 10:06 yivo