microsoft / kiota

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

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

Open maisarissi opened 1 month ago

maisarissi commented 1 month 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/5073
baywet commented 1 month 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 1 month 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 1 month ago

I have created 5 new issues and attached to this epic