How to enable SAML authentication for some applications only

If i enable the SAML authentication in User configuration, all traditional web apps will be used the SAML.

Can i just enable some applications to use SAML authentication? Then, other application will keep on using user entity to authentication.

Hi Jessica,

I think this is not possible because Users module has default acces for all aplication.

If you want than you have write your custome code.

Like create code for SAML authentication , if this is successfull authenticate  than create same user in entity and after that login in .

this code add before "DoLogin " process.

I have also same requirement in my project so i have done this by manual process.


Hope this will help you,

Regards

Rahul Sahu

Rahul Sahu wrote:

Hi Jessica,

I think this is not possible because Users module has default acces for all aplication.

If you want than you have write your custome code.

Like create code for SAML authentication , if this is successfull authenticate  than create same user in entity and after that login in .

this code add before "DoLogin " process.

I have also same requirement in my project so i have done this by manual process.


Hope this will help you,

Regards

Rahul Sahu

Thank for your suggestion.

May i have your codes for reference? Since i haven't any idea how to do SAML authentication.

Also, i am worried whether to be workable for creating account in the user entity if user haven't role (i.e. user manager) in the user entity. Please advise.



Solution

HI,

Look below image i explan -


First i am checking user exist in user table after that i will go for authentication .

Here this is Authentication is .Net extention code which i am using here .

Same you will have to create for SAML code to user name and password to authentication . 

when you create user in entity same time provide user role than user will b able to login.


Regards

Rahul Sahu

Solution

Thank Rahul. 

Got it