mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-21 21:31:32 +00:00
12 lines
300 B
Go
12 lines
300 B
Go
![]() |
package handler
|
||
|
|
||
|
import (
|
||
|
"github.com/caos/zitadel/internal/auth_request/model"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func (l *Login) redirectToCallback(w http.ResponseWriter, r *http.Request, authReq *model.AuthRequest) {
|
||
|
callback := l.oidcAuthCallbackURL + authReq.ID
|
||
|
http.Redirect(w, r, callback, http.StatusFound)
|
||
|
}
|