Created
August 1, 2024 06:01
-
-
Save nathanmcnulty/7501f7cc6962dcf75d57a4343232535f to your computer and use it in GitHub Desktop.
Logic App for Company Branding Custom CSS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "definition": { | |
| "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", | |
| "actions": { | |
| "Condition": { | |
| "actions": {}, | |
| "else": { | |
| "actions": {} | |
| }, | |
| "expression": { | |
| "and": [ | |
| { | |
| "endsWith": [ | |
| "@body('Parse_JSON')?['Referer']", | |
| "login.microsoftonline.com/" | |
| ] | |
| } | |
| ] | |
| }, | |
| "runAfter": { | |
| "Parse_JSON": [ | |
| "Succeeded" | |
| ] | |
| }, | |
| "type": "If" | |
| }, | |
| "Parse_JSON": { | |
| "inputs": { | |
| "content": "@triggerOutputs()?['headers']", | |
| "schema": { | |
| "properties": { | |
| "headers": { | |
| "properties": { | |
| "Accept": { | |
| "type": "string" | |
| }, | |
| "Accept-Encoding": { | |
| "type": "string" | |
| }, | |
| "Accept-Language": { | |
| "type": "string" | |
| }, | |
| "CLIENT-IP": { | |
| "type": "string" | |
| }, | |
| "Cookie": { | |
| "type": "string" | |
| }, | |
| "DISGUISED-HOST": { | |
| "type": "string" | |
| }, | |
| "Host": { | |
| "type": "string" | |
| }, | |
| "Max-Forwards": { | |
| "type": "string" | |
| }, | |
| "Referer": { | |
| "type": "string" | |
| }, | |
| "Sec-Fetch-Dest": { | |
| "type": "string" | |
| }, | |
| "Sec-Fetch-Mode": { | |
| "type": "string" | |
| }, | |
| "Sec-Fetch-Site": { | |
| "type": "string" | |
| }, | |
| "User-Agent": { | |
| "type": "string" | |
| }, | |
| "WAS-DEFAULT-HOSTNAME": { | |
| "type": "string" | |
| }, | |
| "X-ARR-LOG-ID": { | |
| "type": "string" | |
| }, | |
| "X-ARR-SSL": { | |
| "type": "string" | |
| }, | |
| "X-AppService-Proto": { | |
| "type": "string" | |
| }, | |
| "X-Forwarded-For": { | |
| "type": "string" | |
| }, | |
| "X-Forwarded-Proto": { | |
| "type": "string" | |
| }, | |
| "X-Forwarded-TlsVersion": { | |
| "type": "string" | |
| }, | |
| "X-Original-URL": { | |
| "type": "string" | |
| }, | |
| "X-SITE-DEPLOYMENT-ID": { | |
| "type": "string" | |
| }, | |
| "X-WAWS-Unencoded-URL": { | |
| "type": "string" | |
| }, | |
| "sec-ch-ua": { | |
| "type": "string" | |
| }, | |
| "sec-ch-ua-mobile": { | |
| "type": "string" | |
| }, | |
| "sec-ch-ua-platform": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| } | |
| }, | |
| "type": "object" | |
| } | |
| }, | |
| "runAfter": {}, | |
| "type": "ParseJson" | |
| } | |
| }, | |
| "contentVersion": "1.0.0.0", | |
| "outputs": {}, | |
| "parameters": { | |
| "$connections": { | |
| "defaultValue": {}, | |
| "type": "Object" | |
| } | |
| }, | |
| "triggers": { | |
| "When_a_HTTP_request_is_received": { | |
| "inputs": { | |
| "method": "GET" | |
| }, | |
| "kind": "Http", | |
| "type": "Request" | |
| } | |
| } | |
| }, | |
| "parameters": { | |
| "$connections": { | |
| "value": {} | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment