Hello,
I would like to use code-blocks to add a custom javascript/html page into my main squarespace site.
This custom section is within the members-area of squarespace, where users authenticate using squarespace to access member-area.
Question is how to pass the specific user's auth information to the custom code block? Is there an API service to get the auth information into the custom code? The custom code is designed to display specific user information and allow for user to update content specific to that user, based on user-authentication into the member area.
For eg,
User A login using squarespace auth to access member area
User A sees member-area page which has the custom code
User A should only see content specific to the User A, and not for any other users. The custom code needs to take the auth information and display only user A content.
Is this doable? How?
Thank you