Hi
Setup as follows:
- Azure app service dotnet core web application (Razor pages)
- This app also includes an small API controller (within the same application).
- Want to migrate to use app services Authentication (easy auth) with AD instead of handling auth within the code.
I have setup easy auth to Active Directory for users to login and this works well.
For the API in my app, I need to access it using an api key or bearer token from an old application client.
Is there any way of creating a static key or token that I can use for this? For various reasons, the old client cannot do redirects for tokens etc... I just want to be able to put a key in the HTTP Header of the post request on this client to authorize it..
Is this possible without separating my API out into its own web api?
Can I generate API keys or bearer tokens in AD that I can put in http headers to authorize this old client?
Thanks a mil