We're currently on Data Center using the Resolution SSO add-on which is very powerful, and flexible. We have it designed where inactive users are automatically cycled out as our user licenses get low.
The nice thing is if those inactive users try to login in the future, they are automatically reassigned back their license, and we cycle out another inactive user by age automatically. All users can continue to submit Portal tickets.
This solution helps ensure we fully utilize our seat capacity as much as possible.
I'm trying to model a solution as close to this as possible in Guard, but it's a bit more challenging out-of-the-box. So far, the best idea I have is:
1. Provision all my users via SCIM to Okta but place them by default into a non-billable state. This ensures all my users are visible in the user pickers, and they can submit Portal tickets.
2. Setup a rule in Okta that automatically places my core users into jira-users group. But I'll also create a group in Okta called "Inactives" that I can place users in. If they are in that group, they will automatically removed from the jira-users group. I will probably also setup a workflow action in Okta to perform an instant group removal from that group in Jira as well.
The part that I'm stuck on is how can I dynamically reassign them a license back if they attempt to login? Seems like I could create a mini Forge app that listens on user-login events but it would be asynchronous from what I understand. So on the user's first attempt to open a link to a ticket, they may get denied until they refresh.
Group Synchronization via SCIM with Filters in Okta
This is the most robust way to manage the user lifecycle in the Cloud.
Strategy: Instead of synchronizing all users, configure Okta to send only users from specific groups to Atlassian Guard.
Automation in Okta:
Create a rule in Okta that removes users from licensed groups (e.g., jira-users-okta) after X days of inactivity.
SCIM will detect the group removal in Okta and instantly replicate it in Atlassian Cloud, releasing the license.
For reactivation, you can use Okta Workflows to detect the "Login Success" event and reassign the user to the group, which will trigger the provisioning back to Jira/Confluence.
Thanks, I shall give that a try.
For the reprovisioning part, I think the user won't get instant access, and may need to refresh the page since re-adding back to the group won't be instant. But I think that's the best that can be achieved here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, @David Yu
Unfortunately nothing relying on user-login events will work or rather "so far hasn't".
The only "instant" method we are recommending to our customers for now (this does involve our app UserManagement for Jira):
See this page with a Loom videos from our development team (perhaps it will explain the solution better):
Since these matters can also extend to external users:
And since this can be set up by access to a specific product rather than in general to Cloud:
I do realise that using an extra app might not be what you are after even though you are coming off the Resolution one, however, if this sparks your interest – feel free to get in touch, our support is 24x7
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.