mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 19:40:19 +08:00
Add auth folder.
This commit is contained in:
@ -41,7 +41,7 @@ var githubOauthConfig = &oauth2.Config{
|
||||
Endpoint: githubEndpoint,
|
||||
}
|
||||
|
||||
func (c *ApiController) AuthGithub() {
|
||||
func (c *ApiController) AuthLogin() {
|
||||
providerName := c.Input().Get("provider")
|
||||
code := c.Input().Get("code")
|
||||
state := c.Input().Get("state")
|
Reference in New Issue
Block a user