gotosocial/internal/oauth
tsmethurst 43eb9b8c21 add middleware 2021-03-21 00:49:20 +01:00
..
README.md add middleware 2021-03-21 00:49:20 +01:00
oauth.go tidying a bit 2021-03-21 00:48:17 +01:00
oauth_test.go tidying 2021-03-21 00:48:37 +01:00
pgclientstore.go getting there....... 2021-03-17 16:01:31 +01:00
pgclientstore_test.go getting there....... 2021-03-17 16:01:31 +01:00
pgtokenstore.go getting there....... 2021-03-17 16:01:31 +01:00

README.md

oauth

This package provides uses the GoToSocial oauth2 module (forked from go-oauth2) to provide oauth2 server functionality to the GoToSocial APIs.

It also provides a handler/middleware for attaching to the Gin engine for validating authenticated users.