Please help me with how to create a login page for Service Portal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2023 12:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2023 12:39 PM
Hey Raviteja,
- Go to All > Service Portal > Pages.
- Click New.
- In the Page Name field, enter a name for your login page.
- In the Page Layout field, select the Login layout.
- Click Save.
This will create a new page with the default login widget. You can customize the widget by editing its properties.
To customize the login widget, follow these steps:
Click on the Login widget.
In the Widget Properties section, edit the following properties:
- Username Field - The name of the field that will be used for the username.
- Password Field - The name of the field that will be used for the password.
- Login Button Text - The text that will be displayed on the login button.
- Remember Me - Whether or not the user should be remembered after they log in.
- Forgot Password - Whether or not a link to the forgot password page should be displayed.
Click Save.
Once you have customized the login widget, you can set it as the default entry page for Service Portal. To do this, follow these steps:
- Go to System Definition > System Properties.
- Find the property glide.entry.page.script.
- Set the value of the property to new SPEntryPage().getLoginURL().
This will make the login page you created the default entry page for Service Portal.
Here are some additional things to keep in mind when creating a custom login page:
Note:
- The login page must be accessible to all users.
- The login page must be secure.
- The login page must be easy to use.
I hope this helps!
Thanks & Regards,
Revanth. K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2023 01:56 AM
Hi @Raviteja Kuraku ,
You can use login widget.
Mark my answer correct and helpful if issue resolves.
Thanks,
Nivedita Patil.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2023 05:33 AM
Hello @Raviteja Kuraku ,
Please go through below information.
Creating a login page for a service portal typically involves web development skills and knowledge of server-side and client-side scripting. Here's a high-level overview of the steps involved:
1. **Design the User Interface**:
- Plan the layout and design of your login page. Consider the user experience and make it visually appealing.
2. **HTML/CSS**:
- Create the HTML structure for your login page. Include input fields for username/email and password, along with a submit button.
- Use CSS to style the page, ensuring it looks good and is responsive across different devices.
3. **Client-Side Validation**:
- Implement client-side validation using JavaScript to validate user input (e.g., check for empty fields, valid email format, strong password).
4. **Server-Side Development**:
- Set up a server-side scripting language (e.g., PHP, Python, Node.js) to handle form submissions and authentication.
- Create server-side scripts to process user input, validate credentials against a database, and generate appropriate responses.
5. **Database Integration**:
- Connect your server-side script to a database where user credentials are stored securely. Common databases include MySQL, PostgreSQL, or MongoDB.
6. **Authentication**:
- Implement authentication logic to verify user credentials. This typically involves checking the username/email and password against records in the database.
- Use secure password hashing techniques to store and compare passwords.
7. **Session Management**:
- Implement session management to keep users logged in after a successful login. You can use cookies or server-side sessions for this purpose.
8. **Redirect and Access Control**:
- After successful login, redirect users to the appropriate page within your service portal.
- Implement access control to restrict certain pages or functionality to authenticated users only.
9. **Security Measures**:
- Implement security measures like HTTPS (SSL/TLS) to encrypt data transmission.
- Protect against common web security threats such as SQL injection, Cross-Site Scripting (XSS), and Cross-Site Request Forgery (CSRF).
10. **Testing**:
- Thoroughly test your login page for functionality, security, and usability.
- Test different scenarios, including valid and invalid login attempts.
11. **Deployment**:
- Deploy your service portal and login page on a web server or hosting platform.
12. **Monitoring and Maintenance**:
- Continuously monitor and maintain your login page and portal to ensure they remain secure and performant.
- Keep your software and libraries up to date to patch any security vulnerabilities.
Please mark my solution as Helpful/Correct, if applicable.
Thanks & Regards,
Chaitali Vale