zorn-v / nextcloud-social-login

GNU Affero General Public License v3.0
198 stars 137 forks source link

How to fill in the GitHub section correctly Allow login only for specified organizations? #361

Closed axty666 closed 2 years ago

axty666 commented 2 years ago

When I fill in the relevant options of Allow login only for specified organizations, no matter what I fill in: the link of the organization, or the displayed name of the organization, or the real name of the organization, it will prompt this: Login is available only to members of the following GitHub organizations: xxxxx How do I fill in correctly? Or is the owner of the organization not considered a member? I use Baidu translation to translate, so it may look strange.

zorn-v commented 2 years ago

It should looks the same as in url. For example nextcloud for https://github.com/nextcloud/ You can check response http code on https://api.github.com/orgs/{org}/members/{user}

axty666 commented 2 years ago

Thank you very much. This problem has been solved successfully. Wish you happy every day!