We are making WEB API call to authenticate users inside sitefinity. Is there a way to use sitefinity to authenticate users directly after getting successfull login request from the api so that we can use sitefinity features like roles to protect access from the documents and other stuff.
If it is a pure API call meaning you send username/password to an end point I would recommend creating a custom Authentication Provider. If it utilizes OpenIdConnect you can do this configuration based in Siteifnity.
www.progress.com/.../for-developers-implement-custom-external-identity-providers
www.progress.com/.../administration-configure-the-openid-connect-provider
Siteifnity also supports other common SSO options like:
Windows authentication (based on LDAP)
ADFS (Active Directory Federation Services)
Microsoft
GitHub
www.progress.com/.../administration-configure-external-identity-providers