Hi,
We have a hybrid authentication scenario requirement in our ASP.NET Core application.
- Normal authentication with username/password
- Log in automatically from the c# code with a service account username/password or token (No UI) of specific url parameter.
Flow:
Hit a specific url
Check if specific url parameter is present and valid
Yes: log in automatically with service account
No: redirect to login page
Is it possible to achieve this?
If yes, is there any examples that we can use?
Thanks in advance
Have a great day 