
EdwinJ.73586 (Customer) asked a question.
Hello Okta Community,
I am trying to create API authentication in .NET core web api that allows users to sign in as different users. I have tried various methods but I am still struggling to implement this feature. Can someone please help me with this?
I am currently using Okta for my authentication and authorization needs, and I want to create an API that allows certain users to login as a diffrent person same as current login syatem using api. I have looked into the Okta API and have found some documentation on how to do this, but I am still having trouble implementing it in my .NET core web api .application.
If anyone has any experience with creating API authentication in .net core web api, I would greatly appreciate your help. I am open to any suggestions and solutions that you may have.
Here is some additional information that may be helpful:
- I am using .NET 6
- I am using Okta for my authentication and authorization needs
- I want to create an API that allows certain users to login to system .
Thank you in advance for your help. I look forward to hearing from you.
Best regards,
Edwin Joy

Hi @EdwinJ.73586 (Customer) , Thank you for reaching out to the Okta Community!
I'm afraid that there's not much beyond what you might have already found.
Here are some articles as example:
https://developer.okta.com/code/dotnet/aspnetcore/
https://developer.okta.com/blog/2022/04/20/dotnet-6-web-api
My advice would be to reach out to the dedicated Developer Forum devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
Community members help others by clicking Like or Select as Best on responses. Try it today.