fix: username mapping of idp (#2977)

* docs: add primary domain scope section to identity brokering guide

* fix: register overview

* Update external_register_overview.html

* fix mapping

* fix html

Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
Fabi
2022-01-11 16:59:12 +00:00
committed by GitHub
co-authored by Livio Amstutz
parent 2355fcb7cf
commit 41ec3321b0
4 changed files with 25 additions and 14 deletions
+1
View File
@@ -126,6 +126,7 @@ func (l *Login) jwtExtractionUserNotFound(w http.ResponseWriter, r *http.Request
l.renderError(w, r, authReq, err)
return
}
user, externalIDP, metadata := l.mapExternalUserToLoginUser(orgIamPolicy, authReq.LinkingUsers[len(authReq.LinkingUsers)-1], idpConfig)
user, metadata, err = l.customExternalUserToLoginUserMapping(user, tokens, authReq, idpConfig, metadata, resourceOwner)
if err != nil {