Auto authentication and redirect to JSM portal from web page

Dhiren Kumar Sahu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 5, 2024

Requirement: I am trying to implement a seamless redirection from a web application to a Jira Service Management (JSM) portal in a new browser tab. The goal is to automatically authenticate the user in JSM without requiring them to log in again. After redirection, the user should be able to search content in the JSM knowledge base, which is linked to a Confluence space.

What I've Tried:

  1. JWT Token-Based Authentication: Encountering issues when attempting to obtain an access token for logging into the JSM portal.

  2. OAuth Code Grant: I’ve registered the web application on developer.atlassian.com and obtained a Client ID/Secret. I’m able to retrieve the access token using the authorization code, but I can’t establish a session in JSM—it's still showing for a login.

  3. API Token: Successfully created a session using an API token via Postman, but I’m unsure if this approach will work for a browser session to authenticate with JSM.

What I Need Help With: I need guidance on resolving the issues with the approaches I’ve tried or recommendations for the best solution to achieve seamless authentication and redirection to JSM.

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events