pr fixes part 1
This commit is contained in:
@@ -17,10 +17,6 @@ func (s *Controllers) Login(ctx echo.Context) error {
|
||||
}
|
||||
|
||||
func (s *Controllers) LoginCallback(ctx echo.Context, params LoginCallbackParams) error {
|
||||
// Handle OAuth2 callback
|
||||
// This is a placeholder implementation - you'll need to implement the actual token exchange logic
|
||||
//redirectURL := "https://doczy.com" // Replace with your actual redirect URL
|
||||
//return ctx.Redirect(http.StatusFound, redirectURL)
|
||||
return ctx.JSON(http.StatusOK, map[string]string{"message": "Login callback is a no op since its handled by the middleware."})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user