NetSuite customized Customer Login - netsuite

My use case is that I would like customers to log in via a custom Login Form I have created, but not from NetSuite Login which is publicly accessible. How can I achieve that?Any ideas?

One way to do your own branded custom login page (with your own HTML/CSS), is by creating a form that on submit sends a POST request to https://system.netsuite.com/app/webservices/wslogin.nl?c=######
where ##### is your netsuite account number
the form must submit following attributes:
email
password
taskid // see the help topic Task Ids for valid values e.g.: LIST_MYROLES
role // not required if has a default role specified on the View All Roles page
I don't think that there is a way to block the normal UI login so, that only custom login is allowed.

In addition to what Prasun wrote there are a couple of different approaches to custom login/reg forms.
One is to just hack the login form so that it looks and behaves like you want it to. See the login/registration at http://www.lablearning.com/
The other is to create your own login page using an SSP page and install it to override the built-in login/registration.

Related

B2C Custom Policy - How to show the signup links from a Selfasserted DataUri signin page

I am using the DataUri: urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:2.1.0 for my signin page.
This displays the signup links from the ClaimsProviderSelection.
The issue is that I want to add additional Display claims to the signin and the unifiedssp DataUri appears to force only allowing 2 display claims. The second one is always forced to be password even if the data input type is something like a DropdownSingleSelect.
Any additional display claims are just not shown.
I am able to get the signin experience that I want with the selfasserted (urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.1) DataUri, but in that situation I have not figured out how to show the signup link.
The Documentation makes a specific comment about the setting.showSignupLink meta data only being available on the unifiedssp DataUri. https://learn.microsoft.com/en-us/azure/active-directory-b2c/self-asserted-technical-profile#metadata
Is there a way to display the signup links from the ClaimsProviderSelections on a selfasserted DataUri page? (Or a way to display more inputs on the unifiedssp)
Thanks Jon, Please verify this git hub scenario (https://github.com/MicrosoftDocs/azure-docs/issues/48091). The only way is to embed a link to sign up, which sends the user back to the app and launches a sign up policy. You cannot use the combined page since it forces username/password fields

DOCUSIGN : How to Bypass the Access code validation page by passing the access code programatically

I have a requirement where i want to validate a template using Access Code, but i want to bypass the access code validation by passing the Access code programatically(similar to how we can bypass the Initiator landing page https://docs.docusign.com/supportdocs/ndse-help/Content/populate-custom-fields.htm#pnz1578456644088).
There is a value you can enter to bypass the access code validation. If you append the parameter ActivateOnly=1 at the end of your Email PowerForm URL, the recipient will not have to enter an Access Code
A Sample PowerForm URL would look like this:
https://www.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=ad01e352-158a-4380-96c9-9cbc4366028t&ActivateOnly=1
It is explained in more detail here:
https://support.docusign.com/en/articles/Email-PowerForms-How-to-remove-system-generated-Access-Code-requirement
The problem with this option is that it requires users to access the powerform from their email
If you need the template to be both available to your internal sending users as well as your Powerform, then split them up.
Duplicate your template by using "Create a Copy" from the drop-down menu. Rename the one being used by your PowerForm and unshare it with your users. Remove the Access Code requirement from the template role.
Edit the duplicate template. Ensure this one is shared with your users.

Log user into Kentico Admin site based on HttpHeader value from Siteminder

My company has just obtained Kentico for some new applications. These applications will be going into production in about 2 weeks, so we are still fairly new with this. What we have are three ASP.NET MVC applications/sites that format and present content that is stored in Kentico. Additionally, we have specific users who will log into the Kentico9/Admin site to manage the content displayed by the MVC apps.
From a corporate standpoint, we also have Siteminder SSO enabled. When a user navigates to our Kentico9/Admin site, they are first authenticated by our corporate Siteminder SSO form using their corporate user id. When they are successfully authenticated, Siteminder redirects the user to the Kentico9/Admin site they originally requested and the user is presented with the standard Kentico login form. If the user has already logged in through Siteminder during another session, they only get presented with the Kentico login form. Otherwise, if this is their first time logging in, the user is required to login twice (once through Siteminder and again through Kentico).
What I want to do is bypass the standard Kentico login form and use the Siteminder information to Authorize the user to log them into the Kentico admin site. Siteminder adds the username and some other information to the HTTP request headers. Using C#, I can retrieve their corporate user id using the following: System.Web.HttpContext.Current.Request.Headers.Get("SM_USERID").
So, in a nutshell, I want to override Kentico's standard login form and write some code that will get the user id from the HTTP request header and authorize the user by looking up their userid in Kentico. If the user id is not found or is not active, present the user with the standard Kentico login form. Otherwise, if the user is a valid and active user, pull their user record and allow them to access Kentico.
I have found some tidbits of information and given enough time, I may be able to figure something out, but I am hoping someone has done something similar and can speed up my process. Any ideas on what I can do? I will also entertain anything that might have tighter integration with Siteminder, although it doesn't seem Kentico can handle Siteminder out of the box, but I am not sure about that.
Sounds like you might be able to create a custom webpart which you will place on a page and simply have Siteminder redirect the user to the page with that webpart on it and look for those header values on page load. If it finds them, perform your actions within Kentico to look that user up and authenticate them in Kentico as needed. If there are no header values or it can't find the Kentico info, simply send them to the regular login page.
You could also create a global event handler but that would require someone to click a button or such on your site after they have entered credentials.

Orchard: Creating a user from the register screen NOT dashboard

Hey Guys…So im using Orchard CMS 1.6 and instead of creating a user/role from the dashboard, I would like the user to register from the home page.
This is done by leaving the ‘username’ and ‘password’ field blank on the home page and clicking ‘Sign In’. They are then navigated to a ‘Log On’ page which displays a ‘Register link’.
This allows the user to enter 4 fields to create an account. ‘Username, Email, Password, and confirm password’. I would like to add additional fields to this form but am having no luck.
I’ve tried to install the profile, Users personal Info, and extended Reg modules.
These add additional fields to creating a user, when the user is created from the dashboard. (Users/ Add new user)…but not to the register screen.
Does anyone have any idea how to add fields to the register screen(access from the home page)?
Thanks for any replies…
tl;dr:
Check out: Extended Registration
Details:
You can accomplish this with combination of the Profile module and the Extended Registration module. By default, the Registration page (Found in Orchard.Users) is hard-coded to display only the four fields you mentioned. Extended Registration takes the Profile part from the Profile module and also displays it on the Registration page.
Build out your registration field to however you want by extending the User content type, though it sounds like you have done this since you have access to these fields via New User in the Admin dashboard.
Note: Extended Registration requires the Profile module.

Setting landing page for different users

I am Using Liferay 6.1CE.
I can able to set my default landing page to a site in control panel.
But in my portal 2 sites are there,two users are there.
For eg: userA is a member of siteA,simularly UserB member of siteB.
How can i redirect the users to their site after login.
What can i do?
I guess 2 sites you mean two communities. Anyway you need to create post login action where you'll check your conditions and redirect where needed.
You can create the Liferay hook for your custom login post action. Please have a look at :
custom action using hook
on how to create the hook.
In the hook, you can identify the looged in user based on your search criteria and redirect to the relevant community.

Resources