We are part of a family of organizations that all share the same domain name for email addresses. Let's say we have a domain example.com and Company 1's users are firstname.lastname@example.org but Company 2's users are also email@example.com.
If we are Company 2 and we use Atlassian Access the way the documentation is written we will have to claim example.com as our domain. This will involve all Atlassian accounts for Company 1 and Company 2 becoming managed users for us. (I have verified this with Atlassian billing support. They say that we would have Company 1 users as billable accounts if they had access to any managed product, not just those belonging to Company 2's Atlassian account.)
I can potentially get all our users to have an alternate email address on their Active Directory accounts so they would be firstname.lastname@example.org and email@example.com. I could then claim example2.com as our domain. But can Atlassian Access (with Okta) support passing along the email address to the identity provider as an alternate email address and have the logging in still work?
Unfortunately as best I can tell, this doesn't work. Okta does not allow users to authenticate with the secondary email. So if the user attempted to log in to with Atlassian with firstname.lastname@example.org and you had verified the example2.com domain, it would certainly be redirected to Okta. However, the user would only be able to log in to Okta with their email@example.com, which is what Okta would send back to Atlassian and the SAML assertion would fail, since firstname.lastname@example.org would not match any user in Atlassian.
We are definitely aware that there are cases where several companies share the same domain and that the domain-based implementation of SAML that Atlassian Access usage is a problem in this situation. We'll be looking at how we can resolve this in the future.
Atlassian Access Product Management
Hi @Dave Meyer, after talking with our Okta people it looks like this should actually be possible. They said that as long as we can get our users to have two valid emails (email@example.com and firstname.lastname@example.org) then they can support it.
Basically we would register example2.com with Atlassian and make all our users update their email addresses to that (unfortunately it seems there is no bulk way to do this). Then we would turn on Atlassian Access for example2.com.
In the Okta configuration for the Atlasisan connection they would enable a simple rewrite so that when sending back the email address of the authenticated user to Atlassian it will change it from email@example.com (their _actual_ username) to firstname.lastname@example.org (what Atlassian thinks the username is). Then because they can receive email at example2.com the notifications would also continue to work.
We're going to give it a try and I will report back in a couple of months.
We actually do provide an API for you, as an admin, to update users' email addresses in your organization:
In the Okta configuration for the Atlasisan connection they would enable a simple rewrite so that when sending back the email address of the authenticated user to Atlassian it will change it from email@example.com (their _actual_ username) to firstname.lastname@example.org (what Atlassian thinks the username is).
I didn't know this was possible. That's great to hear!
The only caveat here is that if users log in to Atlassian directly (rather than via the Okta dashboard) I think they will need to know to enter their @example2.com email address on the Atlassian account login screen.
Yeah, the support rep mentioned that. Problem is that to use it we would have to claim example.com in order to be able to leverage the organizations API in order to change their email addresses to example2.com. And claiming example.com is part of the problem in the first place!
Hi Community! Thank you to all who joined our ongoing monthly Atlassian Access demo! We have an engaging group of attendees who asked many great questions. I’ll share a recap of frequently ask...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events