github_oauth.go
4.85 KB
-
Solves problem with Github authentication restriction by organization membership… · 50daf746
Solves problem with Github authentication restriction by organization membership when the organization's access policy is set to "Access restricted". "Access restricted" policy should not stop user to authenticate. How it is solved: * Take organizations_url field data from user basic data response * Make another request to get all organization the user is a member of (public membership) * Authenticate user if appropriate organization found in that list
Adilet Maratov committed