Jump to content

M2AV

Member
  • Posts

    2
  • Joined

  • Last visited

M2AV's Achievements

Level 1

Level 1 (1/20)

0

Reputation

  1. So, when on Carrier's website, a user will input their cloud credentials and "Allow" my app to connect to their account. When they subm their info, Carrier will redirect to a URL of my choosing but I need to be able to display the code that's in the 302 redirect. The user will copy that and paste it into my app to grant access.
  2. Site URL: https://www.m2avc.com Hi, I'm working on an integration with a major Air Conditioning company and to authorize my app I need to have a redirect URL that will display the authorization code. They recommend PHP but I can't use PHP with Squarespace. Does anyone have any ideas of where I could begin to look for how to do something like this inside the Squarespace sandbox? The example response is below. It uses a 302 redirect with query components. I need to pull out just the code, format, and display it in a web page for the client to copy and paste into an app. In this example the code is 12A3456BCD789123. Thank you all in advance. HTTP/1.1 302 Found Location: yourApp://authCode? code=12A3456BCD789123& state=a1bcd2fgh3ijkLm4opQRST
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.