Skip to content

Conversation

@ruhilmansi
Copy link

Closes: #302

GitHub Login Integration via Streamlit OAuth

This PR adds support for GitHub based login to the Jarvis AI Assistant alongside the existing Google login.

What’s Added:

  • Dual authentication in auth.py using st.login("google") and st.login("github")
  • Clean UI with side by side login buttons for better user experience
  • Updates to secrets.example.toml:
  • Added [auth.github] section with required fields for contributors

Tested:

  • Locally tested on streamlit run jarvis.py
  • GitHub login flow works as expected
  • Logout works properly

Kindly check and confirm if everything looks correct.

Let me know if any improvements or refactoring is needed.

@github-actions
Copy link

Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.

@Avdhesh-Varshney
Copy link
Member

Attach a working video to review behaviour and set indentation to be 2 space not 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add GitHub Authentication in Addition to Google Login

2 participants