Takes - change the proj type to Web from there pretty much do the same thing as you would in web project . If you don't want change to web proc type , spin a http server from console app - did something similar in window-form app
Hi Anton, Great series. Anyway in Net 8.0 I have a problem. If I don't set an authentication scheme in AddAuthentication the application blows and I get a StackOverflow error. I am kinda stuck there
@@RawCoding It's an interesting read, which lead me to a more clear example of how it would be carried out (netskope's article on it). I guess it's a fair point that code flow + PKCE (even on a public client) is safer than device code.
I don't fully understand why you'd need authentication in a CLI app, besides obviously for calling web endpoints requiring authentication. Why are you creating a web app builder and running a web API inside a CLI app?
Very interesting video. Thank you. On Windows 'PersistKeysToFileSystem' is required, too. I tried with google and they required 'ClientSecret', but works too. :)
Thank you Anton. Very informative as always
Mind blowing 🤯, thanks for sharing
This was awesome. Thank you Anton!
Takes - change the proj type to Web from there pretty much do the same thing as you would in web project .
If you don't want change to web proc type , spin a http server from console app - did something similar in window-form app
Hi Anton, Great series. Anyway in Net 8.0 I have a problem. If I don't set an authentication scheme in AddAuthentication the application blows and I get a StackOverflow error. I am kinda stuck there
Come ask for help on discord and provide your program.cs in there as well!
Thank you 👍
Thank you
Morning!
Dude u the best. Be my mentor :)
While this is neat and all - why not use the Device Code flow?
www.secureworks.com/blog/oauths-device-code-flow-abused-in-phishing-attacks
@@RawCoding It's an interesting read, which lead me to a more clear example of how it would be carried out (netskope's article on it). I guess it's a fair point that code flow + PKCE (even on a public client) is safer than device code.
Yep
I don't fully understand why you'd need authentication in a CLI app, besides obviously for calling web endpoints requiring authentication. Why are you creating a web app builder and running a web API inside a CLI app?
It’s a back channel for processing the token.
Very interesting video. Thank you.
On Windows 'PersistKeysToFileSystem' is required, too. I tried with google and they required 'ClientSecret', but works too. :)
Alright!