I am working on an Atlassian Connect App. I have some REST APIs to be exposed to customers. I want to use the same authentication (JWT) for the REST APIs too so that I don’t need to maintain a separate username/password for REST endpoints. Also I would like to use the client-key and user id based authentication provided by Atlassian for my REST endpoints too. Will it be possible for me to use it outside connect-app?
Technically I want to use Atlassian login to authenticate users accessing my REST endpoints. Is it possible for my OAuth client to consume Atlassian’s authentication mechanism? Can you point me to any samples for the same?