C
C#2w ago
DevTKSS

Help needed to implement oAuth2 Authorization Code Flow on Desktop Target without Device Protocol

Could someone help me with my authentication service setup for oAuth2 Authorization Code flow with Pkce? I did it the best as far as my few beginner knowledge reaches, but I am stuck at the point where I would need to open the Browser with redirect 🤔 I can not use WebAuthenticationBrokerProvier as this one is not fully implemented in the Uno codebase for desktop target, so I would trying to do with Process.Start 🤔 or WebView2 they have support for since the 6.0 version. I collected a few samples but I am unsure in connection with TaskCompletionSource maybe (?) how I have to chain this all up together 😅 So kind of that last bracket of implementation is missing🫣 the main Authentication Service class is that one here And that here are my Refit Endpoints I would assume that would be needed to set up like this. For this api: https://docs.etsycorp.com//documentation/essentials/authentication Let me know if you have suggestions to make it work ❤️
GitHub
DevTKSS.MyManufacturerERP/src/DevTKSS.MyManufacturerERP/Infrastruct...
Uno Server Project using WMS App, IMPORTANT: This is under Development as I am just starting learning any AspNet stuff and should not taken into production at this point! - DevTKSS/DevTKSS.MyManufa...
GitHub
DevTKSS.MyManufacturerERP/src/DevTKSS.MyManufacturerERP/Infrastruct...
Uno Server Project using WMS App, IMPORTANT: This is under Development as I am just starting learning any AspNet stuff and should not taken into production at this point! - DevTKSS/DevTKSS.MyManufa...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?