What is the full process of implementing OAuth 2.0 in connect apps via JWT?
The documentation mentions this but I fail to find the end to end process to implement it. I know I have to make changes in my descriptor file but need to know specifically what changes I need to make.
Also, I am calling the REST APIs with basic auth currently as mentioned everywhere in the REST API docs https://developer.atlassian.com/cloud/confluence/rest/v1/intro/#about and https://developer.atlassian.com/cloud/confluence/rest/v2/intro/#about.
How to replace this basic auth setup with the OAuth 2.0 setup. I already have installed ACE and am only having a webhook module inside it which calls webhooks events and I show them to my integrated 3rd party app's workspace channel (just like slack).
Please someone answer this and clear my doubts. Thanks in advance.
"but I fail to find the end to end process to implement it."
"Always with you it cannot be done. This why you fail" - Yoda
Start by Googling stuff like 'Atlassian implement OAuth 2.0 in Connect apps via JWT'. If you had done at least that, you would have been led directly to the dozens of pages that guide you, step by step, EXACTLY how to implement OAuth or JWT based authentication in a Connect app.
Like the Understand JWT for Connect apps page, or the Security for Connect apps page, or the OAuth 2.0 for apps page or the Getting started with Connect page that links to sample code, tutorials, introductions to using ACE etc, etc, etc.
Sorry to sound harsh, but if really, really want to become an application developer, you need to work on the core skills needed, like:
The more you learn to solve your programming problems yourself and only ask for help when you've really, honestly tried everything in your power to work it out for yourself, the better your coding will always be.
Have fun on your learning journey @Saaket Gupta
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.