By: aakash kag user 24 Jan 2020 at 3:54 p.m. CST

7 Responses
aakash kag gravatar
HI, Whenever user register through self-register page after authentication user should associate to specfic group based on email-domain. Example Lets say we have 2 group gmailG, outlookG if user is @gmail.com place them in group “gmailG” automatically) if user is @outlook.com place them in group “outlookG” automatically)

By Mohit Mali staff 27 Jan 2020 at 4:15 a.m. CST

Mohit Mali gravatar
hi aakash kag, Thank you for reaching out gluu support , I will assist you on this ticket , let me pull information on this from team and get back to you asap. Thanks and Regards Mohit Mali

By Mohit Mali staff 28 Jan 2020 at 6:34 a.m. CST

Mohit Mali gravatar
Hi aakash kag, We currently don't support groping of the user based on domain on registration, we will consider this request in future versions. Thanks and Regards Mohit Mali

By aakash kag user 29 Jan 2020 at 7:50 a.m. CST

aakash kag gravatar
Thanks for your response. That is fine if currently not supporting support groping of the user based on domain on registration but Can we assign user to any group. Currently whenever user self register It doesn't assign to any group. Is there any way that all user which is self register should go to any group.?

By Mohib Zico staff 30 Jan 2020 at 7:14 a.m. CST

Mohib Zico gravatar
>> Is there any way that all user which is self register should go to any group.? This is an interesting idea, I like that. Mohit, can you please talk to Dev lead on this; may be we will add this in future.

By Yuriy Movchan staff 03 Feb 2020 at 11:06 a.m. CST

Yuriy Movchan gravatar
@mohit @Mohib.Zico Please open issue for 4.2 to write sample script to automatic user grouping by domain. Hi Aakash Kag, There are many custom scripts already in https://github.com/GluuFederation/oxAuth/tree/version_4.1.0/Server/integrations folder. Some of them have auto enrollment. You can use `basic`and auto-enrollment code from other script (for example `saml-passport`) to prepare new script if you need it now.

By Mohit Mali staff 04 Feb 2020 at 12:10 a.m. CST

Mohit Mali gravatar
Hi @Yuriy.Movchan & @Mohib.Zico, Issue has been created for this feature https://github.com/GluuFederation/oxTrust/issues/1910 Thanks and Regards Mohit Mali

By Mohib Zico staff 06 Feb 2020 at 11:13 a.m. CST

Mohib Zico gravatar
Thanks!