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)
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
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
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.?
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.
@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.
Hi @Yuriy.Movchan & @Mohib.Zico,
Issue has been created for this feature
https://github.com/GluuFederation/oxTrust/issues/1910
Thanks and Regards Mohit Mali
Thanks!