• Resources
    • Documentation
    • Courses
    • Knowledge Base
    • FAQ
    • Forum
    • Changelog
    • Webinars and Videos
    • Blog
    • Swag Shop
  • Marketplace
  • Login
  • Resources
    • Documentation
    • Courses
    • Knowledge Base
    • FAQ
    • Forum
    • Changelog
    • Webinars and Videos
    • Blog
    • Swag Shop
  • Marketplace
  • Login
home/Knowledge Base/How to's/Authentication trough another window

Authentication trough another window

17 views 0

Written by Vitali
March 14, 2023

Prerequisites

An key to the API if you need it for your Service.

Step 1 – Prepare the HTML File

To establish this whole project we need to prepare an HTML File that authenticates us on our service and will get our token for us.

For this we will use our template that simply calls an URL with some parameters.

To get started we will implement the calling of our endpoint and getting the data from the Application.

In the fnListener we can access the data sent us from the application.

With the window.opener.postMessage() we communicate back to our Application.

Download Template Script

Step 2 – Call the HTML File from the Application

First of all we go to the Asset of our Application and upload our template.html

After we’ve done that we need to call our Clientside-BusinessObject SF_DataHelper that handles the rest for us.

In the output parameter we get the data back, that we send from our window.

Download Clientside-Businessobject

Tags:UIRESTtokentemplatehtmlscripttexttoAPI

Was this article helpful?

Yes  No
Related Articles
  • Converting Text to Speech with the Google TTS Connector
  • PDF Templates: make the Header/Footer content dynamic
  • REST: Use a CSRF Token and a Cookie to authorize Requests
  • Use the Adobe PDF Embed API in your Simplifier Application
  • Simplifer setup with recommended environment using docker-compose
  • Logs and Monitoring in Simplifier
Leave A Comment Cancel reply

You must be logged in to post a comment.

Latest Articles
  • Authentication trough another window
  • Converting Text to Speech with the Google TTS Connector
  • PDF Templates: make the Header/Footer content dynamic
  • Contact | Imprint | Privacy | © 2022 Simplifier AG. All Rights Reserved.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.