Step 3: Refresh the JWT

When using JWT with Search, we recommend the outer window or domain with the Search experience has the same or slightly shorter expiration time, so a user is fully logged out before your JWT expires. If your JWT expires before the outer window or domain, you will need to fetch a new token.

  1. Trigger a refresh of the page
  2. Request a new token and pass it to Search as outlined in step 2.
Feedback