zorn-v / nextcloud-social-login

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

How to set user group from custom OAuth2 server #303

Closed eloxt closed 2 years ago

eloxt commented 2 years ago

Hi,

I have a custom OAuth2 server and had integrated it into nextcloud with this plugin. I can now automaticly create new user. But I don't know how to set new user's group. What keyword should OAuth2 server provide in profile url to specify new user's group?

Thanks.

eloxt commented 2 years ago

I have figured it out, "group claim" should be configured.