How to secure API resources without user login (Authorize attribute). #733
Unanswered
ahmedtanveer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since APIs are published, anyone can submit a request WeatherForecastController and get the data.
How WeatherForecastController can be secured that only Angular client app can access (without user name & password).
Is using access tokens with angular-auth-oidc-client is the way to secure API resources.
https://localhost:5001/api/WeatherForecast
Really appreciate help in this regards. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions