mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-02-05 22:00:37 +00:00
fix: Oauth callback url is fixed to host+/api/oidc/callback (#314)
This commit is contained in:
@@ -143,7 +143,7 @@ func (o *Oauth) OidcAuthQuery(c *gin.Context) {
|
||||
// @Produce json
|
||||
// @Success 200 {object} apiResp.LoginRes
|
||||
// @Failure 500 {object} response.ErrorResponse
|
||||
// @Router /oauth/callback [get]
|
||||
// @Router /oidc/callback [get]
|
||||
func (o *Oauth) OauthCallback(c *gin.Context) {
|
||||
state := c.Query("state")
|
||||
if state == "" {
|
||||
|
||||
Reference in New Issue
Block a user