OAuth2 with Atlassian’s Cloud

Hello, I’m a big fan of Discourse and I’m trying to set it up so my team at my new company can try it out for internal discussions instead of email or chat.

I’m a little stuck on trying to configure OAuth2 login via Atlassian Cloud. The problem isn’t Discourse — it’s on the other side. Their docs are very, very confusing; so I can’t figure out how to use Atlassian Cloud as an OAuth2 provider — or even whether it’s possible.

Has anyone else tried to do this, either successfully or un? Any tips or pointers would be greatly appreciated.