.. AUTO-GENERATED FILE. DO NOT EDIT. Complete JEF Store Google login =============================== Summary ------- - **Source repository:** ``jef-systems/jef-store-backend`` - **Source SHA:** ``07d2489d50cb131c466864ee7efe8e81fa498460`` - **Source run id:** ``30743809661`` - **Module:** ``Store`` - **Lambda function:** ``jef-store-complete-google-login`` - **HTTP method:** ``GET`` - **Invocation mode:** ``sync`` - **Package mode:** ``with-packages`` - **API category:** ``Store Complex Sync With Packages GET APIs`` - **API path:** ``/store/complex-sync-with-packages/auth/google/callback`` - **Endpoint URL:** ``https://api.jefoffice.com/store/complex-sync-with-packages/auth/google/callback`` - **Documentation scope:** ``lambda-complex-sync-with-packages`` Synchronous Lambda Complex Rule ------------------------------- This API is documented as a synchronous Lambda complex with-packages API. API Gateway waits for the Lambda result and returns the final Lambda response. Description ----------- Validates the Cognito callback, authorizes the employee, creates the canonical JEF session, and redirects the browser. Payload Example --------------- .. code-block:: json { "code": "sample-authorization-code", "state": "sample-oauth-state" } Payload Schema -------------- .. code-block:: json { "root": { "type": "M", "required": true, "additional_properties": false, "attributes": { "code": { "type": "S", "required": false, "description": "Cognito authorization code.", "write_only": true, "max_length": 4096, "example": "sample-authorization-code" }, "state": { "type": "S", "required": false, "description": "OAuth state returned by Cognito.", "write_only": true, "max_length": 2048, "example": "sample-oauth-state" }, "error": { "type": "S", "required": false, "description": "Provider error code when login is cancelled.", "max_length": 256 } } } } Response Schema --------------- .. code-block:: json { "root": { "type": "M", "required": true, "additional_properties": false, "attributes": {} } } CMD curl -------- .. code-block:: bat curl.exe -X GET "https://api.jefoffice.com/store/complex-sync-with-packages/auth/google/callback" PowerShell curl --------------- .. code-block:: powershell curl.exe -X GET "https://api.jefoffice.com/store/complex-sync-with-packages/auth/google/callback"