Fix Login with SteemConnect issue

in #utopian-io6 years ago (edited)

Details

I have deployed the alpha code of Steemlinked on heroku and enabled CICD. The code is an older fork of busy beta app and we are developing our application on top of it. Steemlinked is a community platform for professionals and freelancers on Steem. I have found a bug on the deployed app. Here is the bug description -
Steemlinked is using Steemconnect v2 to enable Steem users to log in with their Steem credentials. When someone tries to log in using the log in button on the front page of the application, it redirects the user to the steemconeect login page to get the credentials and after successfully authentication it gives a 404 error instead of redirecting the user to the application home page.

Step to reproduce the error :

  1. Open http://steemlinked.herokuapp.com
  2. On the application home page, click log in button which redirects you to the steemconnect authentication page
  3. Provide necessary permissions on the permissions page and click on continue button
  4. On the authentication page, provide your steemconnect credentials and click on Log in
  5. You should see an error response page with 404 code.
  6. Check the callback URL, it is redirecting to localhost:3000

Screenshot_20180226_094645.png

After logging in
Screenshot_20180226_094755.png

Components

This bug is related to steemconnect log in feature of busy parent code. The problem lies in the redirect URL which is currently set to https://localhost:3000/authentication callback while in production it must redirect the user to https://steemlinked.herokuapp.com/authentication callback.

Deadline

Since this is a blocking bug, it needs to be resolved ASAP. The deadline for the same is 2 days from the time of posting this bug.

Communication

For more details about the bug and project, you can contact me here on busy.org, send me a message on https://steemit.chat/aneilpatel or join us on discord server https://discord.gg/AusUXtz.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

i got the same error how to resolve it?

It is caused by wrong steemconnect app name or url config. What app you are working on?

i was planning to do a Instagram clone

You can check out @steepshot
They have built a very good clone of Instagram.

Thank you for sharing it

Hi, your task is more suitable for development as you are seeking a way to fix the 404 error. Please change the category.

Hello @espoem, edited the category as requested.

This task request has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @aneilpatel I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.19
TRX 0.13
JST 0.028
BTC 66646.40
ETH 3314.59
USDT 1.00
SBD 2.69