auth: expose more auth info in gin context to support future login redirect capability
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ func NewRouter(
|
||||
etsy *etsy_platform.Platform,
|
||||
authr *authentication.Authenticator,
|
||||
) *Router {
|
||||
authM := auth.NewAuth(
|
||||
authM := auth.NewService(
|
||||
logger.WithGroup("auth-middleware"),
|
||||
authr,
|
||||
accts,
|
||||
|
||||
Reference in New Issue
Block a user