183
Views
6
Comments
Solved
Prevent user creation after SAML authentication
Question

Hi,

I am implementing SAML2.0 based authentication in my traditional web application. Its working fine. My question is like after authentication it creates user automatically in Users of OutSystems if user don't exist already. 

Is there any way by which we can stop this new user creation if it don't exist already. Or we need to write some logic to delete that recently created user.

Please help to confirm.

Regards

2019-10-24 08-26-27
Babu Basha
Solution

Hello Vikas Sharma, 

If you are using IDP forge component to configure your SAML authentication, you have an option to control that, Please see the flag Automatic User Provision on the screenshot which controls that. 

If you're using Environment level Outsystems user configuration for SAML2.0, I dont think you have an option to control that. 

Hope this helps. 


UserImage.jpg
vikas sharma
Champion
Solution

Hi Rahul,

Thanks for update. So there is any way by which we can stop new user creation if don't exists already, using OutSystesms default approach. Or I need to use IdP for that. Kindly confirm.

Regards

2019-10-24 08-26-27
Babu Basha

Hello Vikas Sharma, 

If you are using IDP forge component to configure your SAML authentication, you have an option to control that, Please see the flag Automatic User Provision on the screenshot which controls that. 

If you're using Environment level Outsystems user configuration for SAML2.0, I dont think you have an option to control that. 

Hope this helps. 



2026-02-26 06-29-24
Rahul
 
MVP

Hi Vikas,

You can do it delete or inactive by your logic, but if you delete user then you will have to problem after login becasue many place and things handle by User entity.

But this in application User entity use many places for capture user details like user id,User name etc.

And session/site property also haldle by it.


Regards

Rahul

UserImage.jpg
vikas sharma
Champion
Solution

Hi Rahul,

Thanks for update. So there is any way by which we can stop new user creation if don't exists already, using OutSystesms default approach. Or I need to use IdP for that. Kindly confirm.

Regards

2019-10-24 08-26-27
Babu Basha

Hello Vikas Sharma, 

If you are using IDP forge component to configure your SAML authentication, you have an option to control that, Please see the flag Automatic User Provision on the screenshot which controls that. 

If you're using Environment level Outsystems user configuration for SAML2.0, I dont think you have an option to control that. 

Hope this helps. 



UserImage.jpg
vikas sharma
Champion

Hi Babu,

Thanks for update. Although I discovered this option already . :) But in this new UI how I can mark your answer as solution. ??

Regards

2019-10-24 08-26-27
Babu Basha

Hahaha, I am searching for it as well :D If you figure out, don't forget to mark as solution and let me know how to do it :D

2019-10-24 08-26-27
Babu Basha
Solution

Hello Vikas Sharma, 

If you are using IDP forge component to configure your SAML authentication, you have an option to control that, Please see the flag Automatic User Provision on the screenshot which controls that. 

If you're using Environment level Outsystems user configuration for SAML2.0, I dont think you have an option to control that. 

Hope this helps. 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.