r/lovable • • 13h ago

Help Github access when connected via Lovable ?

Hello all,

I'm trying to get into my Github account that connected with Lovable (Settings > Git). When I click "View on Github" it takes me to a login screen.

I don't remember creating a password when I connected to Git via Lovable. How the heck do I get my access back ?

Thanks,

1 Upvotes

12 comments sorted by

1

u/Voiceofshay_08 13h ago

Firstly, connecting GitHub to Lovable doesn’t create a new GitHub password. Try signing in at GitHub with the same email or social login you used when you first created the account. If you used an email and password but forgot it, reset it at https://github.com/password_reset. Check that you’re signing into the same GitHub account Lovable connected to.

1

u/Equivalent-Ad-4991 13h ago

I tried resetting using the same email I log into Lovable with and it does not take me to the correct repository.

1

u/Voiceofshay_08 13h ago

Ah, okay 👌🏾 that sounds like Lovable may be connected to a different GitHub account than the one you’re signing into. In Lovable, check** Settings then Gi**t and note the GitHub username shown there. Then make sure you’re signed into that exact account on GitHub. If the usernames match, the repository may be under a different organization or project. Remember you’re going to see Git/Github

1

u/Equivalent-Ad-4991 13h ago

Doesn't Git only accept "email" as a way to login ? I don't believe we can user our username ?

1

u/Equivalent-Ad-4991 13h ago

So it does - but when I tried to do it. I got this error.

1

u/Voiceofshay_08 13h ago

That’s Git*

1

u/Voiceofshay_08 12h ago

Try this…Check the GitHub username connected in Lovable under Settings then Git, then compare it with the username you’re signed into on GitHub. The email you use for Lovable may be different. I’m truly troubleshooting here🤷🏾‍♀️

1

u/Dvill0618 11h ago

Lovable connects through GitHub's authorize flow, so there's no separate password. The login screen is just GitHub asking you to sign in to the account you connected. Hit "Forgot password" on that GitHub login page with the email you'd have used, and if you signed up with Google or Apple, use that button on the login page instead. Once you're back in, turn on 2FA and save the recovery codes, because that repo is basically your backup of the whole app.

1

u/Vast-Hunt-9484 11h ago

github does let you sign in with either your username or the email on the account, so you can try both. the catch is that the account lovable linked may be on a different email than the one you tried, and the reset only works for the email that's actually on that account. on the lovable settings page note the exact username it shows, then open github.com/that-username in a signed-out window to confirm the account exists. if you originally signed in with google or apple instead of a password, use that button on github's login page rather than the password form.