backstage-plugin-confluence icon indicating copy to clipboard operation
backstage-plugin-confluence copied to clipboard

feat: added Personal Access Token authentication method

Open remi-espie opened this issue 2 years ago • 6 comments

Added 2 fields in config to allow authentication to Confluence via Personal Access Token. It will look for usePAT in config and if it is set to true, it will look for pat value and use this as the Bearer token in the request to Confluence

remi-espie avatar Mar 15 '23 11:03 remi-espie

Thanks for this, it's super useful! You might want to add the new options to the config schema as well: https://backstage.io/docs/conf/defining/

It would be neat if you could make (username && password) || (usePAT && pat) required, but I have no idea how to do that. This is a first stab: https://github.com/rmartine-ias/backstage-plugin-confluence/commit/e640eb353470fcc6e08cddc3a68c91b1cdbaf53f

rmartine-ias avatar Jun 06 '23 21:06 rmartine-ias

Hi, any chance we could have this?

mist3r3 avatar Jun 07 '23 08:06 mist3r3

@mist3r3 we're using this right now with patch-package, if that helps. Build the patched version, copy the dist/ files into node modules, and generate the patches.

rmartine-ias avatar Jun 07 '23 17:06 rmartine-ias

Looking forward for this PR to be merged and excited to use this

https://github.com/K-Phoen/backstage-plugin-confluence/issues/184

riginoommen avatar Jul 28 '23 09:07 riginoommen

can we have this feature merged please?

chauvm avatar Aug 07 '24 14:08 chauvm