getting acces token inside mvc
I have a API that uses azure identity authentication and authorization for the endpoints.
I also have a mvc that is using the same azure application reg for authentication and authorization.
The authentication and authorization work on both part but when I wane make an api call from my mvc to the api on protected endpoint I am keep getting a 401.
Can someone help how I can get the correct acceestoken inside my mvc tot data from my api
I also have a mvc that is using the same azure application reg for authentication and authorization.
The authentication and authorization work on both part but when I wane make an api call from my mvc to the api on protected endpoint I am keep getting a 401.
Can someone help how I can get the correct acceestoken inside my mvc tot data from my api