Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Authorization Guard for Backend #323

Closed
1 task done
omersafakbebek opened this issue Oct 24, 2023 · 1 comment · Fixed by #331
Closed
1 task done

Creating Authorization Guard for Backend #323

omersafakbebek opened this issue Oct 24, 2023 · 1 comment · Fixed by #331
Assignees
Labels
effort : moderate This issue can take some time priority : high Job needs to be completed at most two days status : completed Issue is completed team: backend This issue will be handled by backend team type : development Updates and enhancements on the application
Milestone

Comments

@omersafakbebek
Copy link
Contributor

omersafakbebek commented Oct 24, 2023

Issue Description

I will create a class that will be used for protecting the requests from unauthorized users.

Tasks

Parts of the task:

  • Creating the guard

Extra Comments

No response

Final Step

No response

Deadline of the Issue

30.10.2023

Reviewer

@melihgezerr

Deadline for the Review

30.10.2023

@omersafakbebek omersafakbebek added type : development Updates and enhancements on the application priority : high Job needs to be completed at most two days status : new New issue in initial state effort : moderate This issue can take some time team: backend This issue will be handled by backend team labels Oct 24, 2023
@omersafakbebek omersafakbebek self-assigned this Oct 24, 2023
@haticerk haticerk added this to the Milestone 1 milestone Oct 25, 2023
@omersafakbebek omersafakbebek added status : in_progress Issue is currently in progress and removed status : new New issue in initial state labels Oct 28, 2023
@omersafakbebek omersafakbebek linked a pull request Oct 28, 2023 that will close this issue
@omersafakbebek
Copy link
Contributor Author

I created the auth guard class. The class can be used by adding @UseGuards(AuthGuard) annotation to endpoint which are wanted to be protected. The client should send an access token in the Authorization header of the request in "Bearer <access_token>" format.

@omersafakbebek omersafakbebek added status : need_review This issue is needed to review and removed status : in_progress Issue is currently in progress labels Oct 28, 2023
@omersafakbebek omersafakbebek added status : completed Issue is completed and removed status : need_review This issue is needed to review labels Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort : moderate This issue can take some time priority : high Job needs to be completed at most two days status : completed Issue is completed team: backend This issue will be handled by backend team type : development Updates and enhancements on the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants