Authentication overview

Amanah Sunnah, an online retailer specializing in Islamic literature, provides a customer account system for managing purchases, order history, and personal details. The authentication process is designed for end-user access through a web browser and is based on traditional email and password credentials. Unlike platforms offering public APIs for developers, Amanah Sunnah does not expose an external API or integrate with third-party identity providers for authentication. Account creation and login occur directly on the Amanah Sunnah homepage.

The primary purpose of authentication on Amanah Sunnah is to secure individual user accounts, ensuring that only authorized users can view their past orders, update shipping information, or make new purchases. Data transmission during the login and subsequent browsing sessions is encrypted using Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols, safeguarding information like passwords and payment details from interception. This encryption is a standard practice for e-commerce platforms to maintain data privacy and integrity, as detailed in the Mozilla Developer Network's explanation of TLS.

Users are expected to manage their own credentials, including creating strong passwords and maintaining their confidentiality. The platform includes standard security measures such as password recovery mechanisms and session management to protect user accounts. There are no advanced authentication features like multi-factor authentication (MFA) or single sign-on (SSO) options available for customer accounts on Amanah Sunnah.

Supported authentication methods

Amanah Sunnah exclusively supports email and password-based authentication for its customer accounts. This method requires users to register an account by providing a valid email address and creating a unique password. Upon successful registration, these credentials are used for all subsequent logins. The platform does not offer alternative authentication methods such as social logins (e.g., Google, Facebook), API keys for programmatic access, or token-based authentication (e.g., OAuth 2.0).

Authentication method table

Method When to Use Security Level
Email and Password For individual customer account login to access order history, make purchases, and manage personal information on the Amanah Sunnah website. Standard. Relies on user-created password strength and platform's secure storage/transmission practices. Enhanced by SSL/TLS encryption.

The choice of email and password authentication aligns with typical e-commerce operations for direct customer interaction. While simpler than more complex schemes like API keys or OAuth, it places a greater emphasis on user responsibility for password strength and confidentiality. The continuous use of SSL/TLS across the site helps maintain the confidentiality and integrity of credentials and personal data during transit. For further reading on the importance of strong passwords and online security, the Google Cloud security best practices offer general guidance applicable to user-side security.

Getting your credentials

To obtain credentials for Amanah Sunnah, you need to register a new customer account directly on their website. The process typically involves these steps:

  1. Navigate to the Website: Go to the official Amanah Sunnah website.
  2. Locate Account Creation/Login: Look for a "Login" or "My Account" link, usually found in the header or footer of the page.
  3. Register a New Account: On the login page, there will typically be an option to "Create an Account" or "Register." Click this link.
  4. Provide Information: You will be prompted to enter essential details, which usually include:
    • Your full name
    • A valid email address (this will serve as your account username)
    • A password of your choosing
    • (Optional) Other contact or shipping information
  5. Create a Strong Password: When setting your password, choose one that is unique, complex, and not used for any other online service. This typically means combining uppercase and lowercase letters, numbers, and symbols.
  6. Complete Registration: Follow any on-screen instructions to finalize your account creation. You may receive an email verification link to confirm your email address.

Once registered and verified, your email address and the password you created become your credentials for logging into your Amanah Sunnah customer account. There are no API keys, client IDs, or other developer-specific credentials to obtain, as the platform does not offer a public API.

Authenticated request example

Since Amanah Sunnah does not provide a public API or programmatic access, there are no code examples for authenticated API requests. User authentication is conducted entirely through a web browser by submitting login credentials via an HTML form.

The following illustrates the conceptual flow of a user authenticating through the web interface:

POST /customer/account/login HTTP/1.1
Host: amanahsunnah.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Content-Length: [length of payload]

email=your_email%40example.com&password=YourStrongPassword123!

Upon successful submission of valid credentials, the Amanah Sunnah server sets a session cookie in the user's browser. This cookie allows the browser to maintain an authenticated state across subsequent page requests during the session, without requiring the user to re-enter their credentials for each action. The session cookie acts as the authentication token for browser-based interactions. The exact names and values of form fields and cookies are implementation-specific to Amanah Sunnah's platform, and this example is illustrative of a common web login mechanism.

Security best practices

Given that Amanah Sunnah relies on email and password authentication, adhering to strong personal security practices is crucial for protecting your account. These best practices help mitigate risks associated with credential theft and unauthorized access:

  • Use Strong, Unique Passwords: Create a complex password for your Amanah Sunnah account that is distinct from passwords used on other websites. A strong password combines uppercase and lowercase letters, numbers, and special characters, and is at least 12 characters long. Avoid using easily guessable information like birthdays or common words.
  • Employ a Password Manager: Consider using a reputable password manager to generate, store, and automatically fill in strong, unique passwords for all your online accounts. This reduces the risk of credential reuse and makes managing complex passwords easier.
  • Be Wary of Phishing Attempts: Always verify the authenticity of emails purporting to be from Amanah Sunnah. Do not click suspicious links or download attachments from unsolicited emails. Always navigate directly to the Amanah Sunnah website by typing the URL into your browser or using a trusted bookmark, rather than relying on links in emails.
  • Keep Your Email Account Secure: Your email account is often the gateway to recovering other online accounts, including your Amanah Sunnah account. Ensure your email account itself is secured with a strong, unique password and, if available, multi-factor authentication.
  • Log Out After Each Session: Especially when using public or shared computers, always log out of your Amanah Sunnah account after completing your purchases or account management tasks to prevent unauthorized access by subsequent users.
  • Monitor Account Activity: Regularly review your order history and personal information on Amanah Sunnah for any suspicious or unauthorized activity. If you notice anything unusual, contact Amanah Sunnah support immediately.
  • Keep Your Device Secure: Ensure the device you use to access Amanah Sunnah is protected with up-to-date antivirus software, a firewall, and regular operating system updates. This helps guard against malware that could steal your credentials.

By following these recommendations, users can significantly enhance the security of their Amanah Sunnah accounts and personal data when interacting with the platform. These practices are standard recommendations for online safety, as highlighted by security organizations like the Cybersecurity and Infrastructure Security Agency (CISA), which provides comprehensive guidelines for individual online security.