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

[JOH-26] Validate #6

Merged
merged 5 commits into from
Jan 4, 2024
Merged

[JOH-26] Validate #6

merged 5 commits into from
Jan 4, 2024

Conversation

Nitiwat-owen
Copy link
Member

@Nitiwat-owen Nitiwat-owen commented Jan 4, 2024

  • implement validate service
  • add validate logic in middleware
  • exclude the following path from validate in middleware
    • POST /auth/signup
    • POST /auth/signin
    • POST /auth/refreshToken

Copy link

linear bot commented Jan 4, 2024

JOH-26 Auth and User endpoints

Signup - POST /auth/signup

Signin - POST /auth/signin

Signout - POST /auth/signout

Validate - POST /auth/verify

RefreshToken - POST /auth/refreshToken

Copy link
Contributor

@bookpanda bookpanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/app/service/auth/auth.service.go Outdated Show resolved Hide resolved
@Nitiwat-owen Nitiwat-owen merged commit f3d9c41 into dev Jan 4, 2024
2 checks passed
@bookpanda bookpanda deleted the JOH-26/validate branch January 5, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants