microsoft / kiota

OpenAPI based HTTP Client code generator
https://aka.ms/kiota/docs
MIT License
3.01k stars 210 forks source link

[Epic] Enabling authenticated API calls from Kiota API plugins #5021

Open maisarissi opened 4 months ago

maisarissi commented 4 months ago

Is your feature request related to a problem? Please describe the problem.

Enabling Authenticated API calls from API Plugins

As of today, Kiota generate plugins with "Auth None" information, which is great to call APIs that doesn't require authentication. This feature aims to empower developers with the ability to generate plugins that call APIs requiring authentication.

Use Cases

Requirements

Additional context

No response

### Tasks
- [ ] https://github.com/microsoft/kiota/issues/5069
- [ ] https://github.com/microsoft/kiota/issues/5071
- [ ] https://github.com/microsoft/kiota/issues/5070
- [ ] https://github.com/microsoft/kiota/issues/5072
- [ ] https://github.com/microsoft/kiota/issues/5162
- [ ] https://github.com/microsoft/kiota/issues/5073
- [ ] https://github.com/microsoft/kiota/issues/5403
baywet commented 4 months ago

Thanks for creating this. Here is my feedback: this is probably more an epic that a feature. And the requirements are probably user stories. I suggest we break this in smaller pieces, and start by addressing requirement 4 as it's a low hanging fruit. Thoughts?

maisarissi commented 4 months ago

Yes, this is an epic. I was trying something new and was about to ask for feedback whether having epics like this helps! My idea is for us now to break down into user stories and then smaller tasks. I thought that epics like this one could help us organize all the efforts needed to implement "a feature" as a whole. I would say the requirements 1 and 4 are the ones I believe we should start with, as having a way to provide auth type and reference id in CLI would also help already with secure APIs.

maisarissi commented 3 months ago

I have created 5 new issues and attached to this epic

baywet commented 2 months ago

@petrhollayms here I think we have misalignments. This epic is tagged for 1.8.1/GA but the last item on the checklist is in the backlog?

petrhollayms commented 1 month ago

Yes, this is often the case with epics though. We shall not be therefore reporting epics in Changelog etc. but the individual stories representing new features, capabilities and bug fixes.