Skip to content

Add Microsoft Login OAuth implementation - #18

Open
divyanshbhai wants to merge 3 commits into
usarfoss:mainfrom
divyanshbhai:fix-issue-10
Open

Add Microsoft Login OAuth implementation#18
divyanshbhai wants to merge 3 commits into
usarfoss:mainfrom
divyanshbhai:fix-issue-10

Conversation

@divyanshbhai

Copy link
Copy Markdown

fix: #10

  • Add Microsoft OAuth2 strategy using passport-oauth
  • Add microsoft field to User model
  • Add Microsoft auth routes to app.js
  • Add Microsoft login button to login view
  • Add Microsoft account linking to profile view
  • Add Microsoft button CSS styles
  • Add Microsoft OAuth setup instructions to README
  • Add MICROSOFT_CLIENT_ID and MICROSOFT_CLIENT_SECRET env vars

Divyansh added 3 commits October 15, 2025 13:53
- Add /api/wikipedia route in app.js
- Add getWikipedia controller in api.js with search and summary functionality
- Add Wikipedia card to API examples in views/api/index.pug
- Create views/api/wikipedia.pug with search form and results display
- Update README.md with Wikipedia in features list and API documentation
- Add .env.example with Wikipedia API documentation (no key required)
- Fix ESM import issues for @octokit/rest and pdfjs-dist
- Add OAuth placeholder values to prevent startup errors
- Add profilePictures array to User model
- Enable users to select from multiple social login profile pictures
- Auto-collect pictures from Facebook, Google, GitHub, X, LinkedIn, Discord, Twitch, Steam
- Add profile picture selection interface in account settings
- Remove pictures when social accounts are unlinked
- Include Gravatar as fallback option
- Maintain backward compatibility

Fixes usarfoss#1
- Add Microsoft OAuth2 strategy using passport-oauth
- Add microsoft field to User model
- Add Microsoft auth routes to app.js
- Add Microsoft login button to login view
- Add Microsoft account linking to profile view
- Add Microsoft button CSS styles
- Add Microsoft OAuth setup instructions to README
- Add MICROSOFT_CLIENT_ID and MICROSOFT_CLIENT_SECRET env vars

Fixes usarfoss#10
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 Microsoft Login

1 participant