mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 16:52:25 -05:00
[chore] migrate oauth2 -> codeberg (#3857)
This commit is contained in:
parent
49c12636c6
commit
8488ac9286
65 changed files with 1677 additions and 1221 deletions
|
|
@ -20,11 +20,11 @@ package middleware
|
|||
import (
|
||||
"net/http"
|
||||
|
||||
"codeberg.org/superseriousbusiness/oauth2/v4"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/db"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/log"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/oauth"
|
||||
"github.com/superseriousbusiness/oauth2/v4"
|
||||
)
|
||||
|
||||
// TokenCheck returns a new gin middleware for validating oauth tokens in requests.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue