[PR #4476] [MERGED] Discord Oauth2 support #17389

Closed
opened 2025-11-02 13:05:47 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4476
Author: @techknowlogick
Created: 7/19/2018
Status: Merged
Merged: 1/13/2019
Merged by: @techknowlogick

Base: masterHead: discord-auth


📝 Commits (10+)

  • 9eee484 add discord auth
  • 5583427 add vendor for discord
  • b20cc10 fix syntax error
  • dea794f make fmt
  • 0d690d4 Merge branch 'master' into discord-auth
  • bd5fcbe Merge branch 'master' into discord-auth
  • 2c62bb5 Merge branch 'master' into discord-auth
  • ca306ba Merge branch 'master' into discord-auth
  • 0f21d7a update version of goth in use
  • 3c7bc43 Merge branch 'master' into discord-auth

📊 Changes

10 files changed (+308 additions, -26 deletions)

View changed files

📝 Gopkg.lock (+5 -3)
📝 models/oauth2.go (+1 -0)
📝 modules/auth/oauth2/oauth2.go (+3 -0)
📝 options/locale/locale_en-US.ini (+1 -0)
public/img/auth/discord.png (+0 -0)
📝 templates/admin/auth/new.tmpl (+2 -0)
📝 vendor/github.com/markbates/goth/gothic/gothic.go (+1 -1)
vendor/github.com/markbates/goth/providers/discord/discord.go (+210 -0)
vendor/github.com/markbates/goth/providers/discord/session.go (+65 -0)
📝 vendor/github.com/markbates/goth/providers/facebook/facebook.go (+20 -22)

📄 Description

Fix #4125


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4476 **Author:** [@techknowlogick](https://github.com/techknowlogick) **Created:** 7/19/2018 **Status:** ✅ Merged **Merged:** 1/13/2019 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `discord-auth` --- ### 📝 Commits (10+) - [`9eee484`](https://github.com/go-gitea/gitea/commit/9eee4843389ec66188a05ebd28f4626bc30f920a) add discord auth - [`5583427`](https://github.com/go-gitea/gitea/commit/5583427d7137bfddc7f0c090d985152c832e74bb) add vendor for discord - [`b20cc10`](https://github.com/go-gitea/gitea/commit/b20cc10f0aeb6dcd66d12349da5c31d5f2af5295) fix syntax error - [`dea794f`](https://github.com/go-gitea/gitea/commit/dea794ffb068df66fb7fbb30d4e4cd4843fe50ce) make fmt - [`0d690d4`](https://github.com/go-gitea/gitea/commit/0d690d40e2b226a140e29ceca9b1fa0df912ab55) Merge branch 'master' into discord-auth - [`bd5fcbe`](https://github.com/go-gitea/gitea/commit/bd5fcbe185391405d9d6d639effd05027cc72b81) Merge branch 'master' into discord-auth - [`2c62bb5`](https://github.com/go-gitea/gitea/commit/2c62bb5f6320d00ba5d88bcd07ef0adc07abd84a) Merge branch 'master' into discord-auth - [`ca306ba`](https://github.com/go-gitea/gitea/commit/ca306ba9ba8090f567d04a1c7f7f39c0aa2848eb) Merge branch 'master' into discord-auth - [`0f21d7a`](https://github.com/go-gitea/gitea/commit/0f21d7ad1d28bfec5cd8d2c29267dca24e6d1746) update version of goth in use - [`3c7bc43`](https://github.com/go-gitea/gitea/commit/3c7bc43aa1fda6225530cda9093a627968b841be) Merge branch 'master' into discord-auth ### 📊 Changes **10 files changed** (+308 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `Gopkg.lock` (+5 -3) 📝 `models/oauth2.go` (+1 -0) 📝 `modules/auth/oauth2/oauth2.go` (+3 -0) 📝 `options/locale/locale_en-US.ini` (+1 -0) ➕ `public/img/auth/discord.png` (+0 -0) 📝 `templates/admin/auth/new.tmpl` (+2 -0) 📝 `vendor/github.com/markbates/goth/gothic/gothic.go` (+1 -1) ➕ `vendor/github.com/markbates/goth/providers/discord/discord.go` (+210 -0) ➕ `vendor/github.com/markbates/goth/providers/discord/session.go` (+65 -0) 📝 `vendor/github.com/markbates/goth/providers/facebook/facebook.go` (+20 -22) </details> ### 📄 Description Fix #4125 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 13:05:49 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17389