Skip to content

Security of APIs #340

Feb 12, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @ShokoufehSimab,
Please pull the latest code from develop,
The APIs, which inherit BaseAuthorizedRestApiController, were Authorized with JWT Bearer token.
Or you can add Authorize Attribute for the API that you want to protect
Ex: [Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)]

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Smilefounder
Comment options

You must be logged in to vote
1 reply
@nhathoang989
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants