punyakrit / social-share

ShareHub is a Project where users can create their public viewable profile containing their customizable social links and important links that they want to share with the world. Also having option to see their page Analytics
https://www.sharehub.xyz/
MIT License
18 stars 39 forks source link

Sending username from landing page to onboarding screen #28

Open punyakrit opened 1 month ago

punyakrit commented 1 month ago

User writing their username in a landing page is not being sent to the onboarding screen Requires fix

pahuja-sahil commented 1 month ago

@punyakrit can u elaborate more about this issue please . I would like to work on this issue under gssoc . kindly assign this issue to me . I have knowledge of backend and would to develop my skills further.

punyakrit commented 1 month ago

You need to send username from

Screenshot 2024-05-30 at 1 19 00 PM

to here

Screenshot 2024-05-30 at 1 19 18 PM

can use local storage for sending username as current method is not working

pahuja-sahil commented 1 month ago

@punyakrit I have a doubt. Currently when i click join for free it helps me take to this screen. image is shown below:

image

after that i get this:

image

kindly tell me what to do. I have stored the username data into the local storage but i cant exactly understand the control flow. kindly guide me what to do when join for free button is clicked?

punyakrit commented 1 month ago

see the logs why this error is occurring and setting username in logs in landing screen and when in onboarding screen setting up username and deleting it from localstorage

pahuja-sahil commented 1 month ago

@punyakrit also please explain the role of register button please ... wher does register comes into play. one more thing while setting up google client id , which api services you selected from google console cloud can u please tell ?

punyakrit commented 1 month ago

Register is used to login or signup the user using google provider and for API part can go through https://next-auth.js.org/providers/google. doc and see on yt setting up google provider API for nextauth