Atozed Forums
OAuth2 in IIS extension app - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: OAuth2 in IIS extension app (/thread-5503.html)



OAuth2 in IIS extension app - David1 - 10-28-2025

Hello,
in my IW application I am calling Microsoft Business Central API to inject orders.
Still now the Business Central tenant was hosted on-premise and I could call the API using basic authentication.
Cause the Business Central is moving to Cloud (SaaS) I need to authenticate with Microsoft OAuth2 to call the API.
Is it possible to use OAuth2 in a IW IIS extension?
Are there any sample to use OAuth2 with IW?
I downloaded the IW master samples from GIT where I found an OAuth2 sample but it asks for a user interaction to autheticate.
How should I implement it in a web server IIS IW application?

Thank you,
Davide