Skip to main content
Participant
October 16, 2024
Question

How to log out via SDK / API?

  • October 16, 2024
  • 0 replies
  • 100 views

Hello everyone,

I'm using the Adobe Express Embed SDK v4 to build a web app that lets users create artwork and export it back to the app. Before exporting, the SDK prompts the user to log in, which triggers a popup or redirects through an iframe, handling the login process via the IMS API and storing the session in the browser.

The challenge I'm facing is logging out users once they finish using the app, allowing the next person to log in. Since the login is managed by the popup (and not directly by my domain), I can't access or clear the session data saved in cookies or local storage by the IMS API.

This disrupts my workflow, and I'm looking for a solution. I considered using OAuth 2.0 with a manual login and logout button, but the Adobe Express Embed SDK manages login internally and doesn't require OAuth 2.0 since it uses API credentials.

Any suggestions or ideas would be greatly appreciated. Thanks!