func (c *UsersController) AuthorizeUser(r *http.Request, args map[string]string, _ interface{}) *ApiResponse {
	oauthStateString = rand.String(20)
	url := c.GitlabService.Authorize(oauthStateString)
	return Ok(url)
}
AuthorizeUser redirects user to the OAuth2 URL for the user to authorize the application to be granted the required scopes.
Return redirect URL with the authorization code
package api
import (
	"context"
	"fmt"
	"net/http"
	"github.com/gojek/mlp/api/models"
	rand "github.com/gojek/mlp/api/util"
)
type UsersController struct {
	*AppContext
}
var oauthStateString string