Environment
What I'm trying to achieve
I want first-time users to be automatically provisioned via JIT and land directly on a specific JSM Help Center/portal page after authentication. The goal is a seamless SSO experience where:
The Problem
I'm passing the servicedesk portal URL (e.g., <base_url>/servicedesk/customer/portal/X) in the SAML RelayState parameter.
Observed behavior for first-time users:
RelayState = servicedesk/portal URL → User is redirected to the Help Center login page instead of being logged in and taken to the portalRelayState = <base_url>/jira (or any non-servicedesk URL) → User is shown a screen saying they "need to request access" — which is also not the desired behavior, but at least they're authenticated and can request access from there.In both cases, returning/already-provisioned users land on the correct page without any issues. The problem is isolated to first-time JIT-provisioned users.
What I've tried
RelayStateQuestions
RelayState and the JSM Help Center for JIT-provisioned users on their first login?RelayState to correctly redirect first-time users to the servicedesk portal post-provisioning?Any guidance from the community or Atlassian staff would be greatly appreciated!
If a user is not listed within Atlassian (user doesn't exist yet) they will land on the help center portal
See SSO for customer only accoutn, https://support.atlassian.com/security-and-access-policies/docs/configure-saml-single-sign-on-for-portal-only-customers/
No the user is getting created in Atlassian at the time of SAML login to Atlassian from keycloak. I want at that time when user is getting created should also get JSM permission and user should be able to see help center screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But this doesn't answer my question.
Is the user already created in Atlassian before the user gets to the portal?
Is the created user listed as a customer on the project before the user gets redirected to the portal?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.