MachaOn-SL-OCI-1 Login Function

This project demonstrates the setup and deployment of an Oracle Cloud Infrastructure (OCI) Function as part of the MachaOn-SL-OCI-1 Backend system. The guide walks through steps to prepare the environment, create Docker images, deploy OCI Functions, and test their functionality.

Dependency Graph

Below is the visual representation of project dependencies:

Configuration

JWT Configuration

Property Name Description Defined In
jwtKey The secret key used to sign and verify JSON Web Tokens (JWT) for secure communication. Environment Variable
jwtExpiration The duration or time-to-live (TTL) of the JWT before it expires, specified in seconds. fn.properties

Commercetools Configuration

Property Name Description Defined In
projectKey The unique identifier for your Commercetools project. It determines which project the function interacts with. fn.properties
clientId The ID of the Commercetools OAuth2 client used to authenticate API requests. fn.properties
clientSecret The secret associated with the OAuth2 client, used for secure authentication to the Commercetools API. Environment Variable
authUrl The authorization server URL used to obtain an access token for Commercetools API requests. fn.properties
apiUrl The base URL of the Commercetools API used for accessing resources, such as products or users. fn.properties
scopes The permissions or access levels requested for API interactions, defining what the function can perform. fn.properties