+ it dev nextjs swagger Setup Swagger in Nextjs App RouterSwagger is an Open Source set of rules, specifications, and tools for developing and describing RESTful APIs. The Swagger allows developers to create interactive, machine and human-readable API documentation. It also comes with a playground where we can try out actual APIs. In this article, we will see how to wono | discuss | tweet + it dev nextjs middleware Writing API Routein Nextjs14As a software engineer, change can sometimes be challenging. I love using react in its raw form because I love having control over my project. Using Nextjs has taught me that it’s never about how you… wono | discuss | tweet + it dev nextjs middleware Next.js Middleware for Securing API RoutesIntegrating middleware into your Next.js applications offers a powerful mechanism to enhance performance. Learn the impact of Next.js Middleware in API security. wono | discuss | tweet + it dev nextjs middleware Streamlining Middleware in Next.js 14 Api Routes with TypeScript: A Comprehensive GuideMiddleware plays a pivotal role in web development, offering a seamless way to handle requests, responses, and application logic. With the advent of Next.js 14 and the robustness of TypeScript… wono | discuss | tweet + it dev nextjs middleware How to Write Actual API Middleware for Next.jsWhenever I have to implement a web client for an app, or proof of concept of some sort, I instinctively reach for Next.js. A couple of years ago, I had to implement an app around the time Next.js… wono | discuss | tweet + it dev nextjs auth decorator reflect-metadata Reflect-metadata | jtwjs Dev Wiki wono | discuss | tweet + it dev nextjs auth decorator Decorators Routes | App Router with NextJS 14Decorators Routes | App Router with NextJS 14 . GitHub Gist: instantly share code, notes, and snippets. wono | discuss | tweet + it dev nextjs auth Building Your Application: Authentication | Next.jsLearn how to implement authentication in Next.js, covering best practices, securing routes, authorization techniques, and session management. wono | discuss | tweet + it blog arc jwt roles Easy way to put user role in JWT | CerbosLearn about embedding user roles in JWTs for managing access control in your applications. Use the technique described in this article with care. If you end up abusing this method, you'll fall into the bloated JWT anti-pattern. wono | discuss | tweet + it arc jwt auth0 JSON Web Token ClaimsDescribe JSON web token (JWT) claims and how they are used in Auth0. wono | discuss | tweet + it arc jwt roles Is setting Roles in JWT a best practice? wono | discuss | tweet + it blog arc nestjs 백엔드 Nest.js 코드 베이스 - 기본구조 - 글로벌 인재 채용 및 협업 관리 솔루션, HyperhireIT/테크 wono | discuss | tweet + it rfc arc jwt Refresh token good practice: always send it in header/cookie? wono | discuss | tweet + it arc rfc jwt Pass jwt refresh token in header or body wono | discuss | tweet + it blog basic HTTP 기본 인증 ( Basic authentication )기본 인증(Basic authentication)의 예 서버가 사용자에게 인증 요구를 원할 때, 서버는 401 Unauthorized 응답과 함께 WWW-Authenticate 헤더를 포함해서 클라이언트에게 전송한다. 이 정보에는 클라이언트가 어떻게 인증해야 할지 포함되어 있고, 위 예시에서는 Basic 인증을 요청 한다. 해당 메시지를 받은 클라이언트는 서버에게 인증 메시지를 보낼 수 있다. 위 그림에서는 서버가 Basic 인증을 요청 했기 때문에, 인토딩(BASE64)된 비밀번호와 그 외 인증 파라미터들을 Authorization 헤더에 담아서 메시지를 보낸다. 성공적으로 완료되면 서버는 정상적으로 200 OK 코드를 반환한다. 추가적인 인증 알고리즘에 대한 정보는 Authentication-Info.. wono | discuss | tweet + it dev flutter jwt [Flutter] JWT 토큰관리 및 자동로그인 구현하기 feat. Dio Interceptor, Social Login자동로그인은 앱 개발에 대중적으로 들어가는 기능 중 하나입니다. 현업에서는 신입에게 처음 내주는 흔한 과제이기도 하지만 인증·인가를 생각한다면 쉽게 구현할 수 있는 기능은 아닙니다. 그래서 이번에는 기본적이지만 많은 학습이 필요한 로그인과 토큰 관리에 대해 알아보도록 하겠습니다. ✓JWT 발행 조건 설정 with 소셜로그인 토큰은 인증이 성공되면 그 결과로 발행됩니다. 즉 성공적으로 로그인이 된다면 서버에서 토큰을 발급해주는 로직이 구축되야 하는 것이죠. 이전에 인증은 "유저가 서비스에 자신의 신원을 확인하고 증명하는 과정"이라고 설명했었습니다. 유저의 신원을 확인하기위해선 먼저 유저를 특정할 유니크한 값을 고민해야 합니다. 자체 회원가입만 있는 앱의 경우 유저가 입력한 ID를 식별값으로 쓰면 되기 때.. wono | discuss | tweet + it dev golang decorator Go seems to be of the opinion that it's better to just use a small number of well-understood abstractions wono | discuss | tweet + it dev golang dacorator Decorator Patterns In GoIntroduction The decorator pattern is a software design pattern that lets you add more... Tagged with go, designpatterns, programming, softwareengineering. wono | discuss | tweet + it dev golang echo proxy Support retries of failed proxy requests by mikemherron · Pull Request #2414 · labstack/echoImplements #2372 Support for retrying proxy requests that fail due to an unavailable backend instance. wono | discuss | tweet + it blog sse 웹소켓 과 SSE(Server-Sent-Event) 차이점 알아보고 사용해보기최근에 어떤 이벤트가 생겼을 때 client side에 ui를 업데이트해야 되는 기능을 구현해야 됐었습니다. 처음에는 이런 경우에 사용할 수 있는 것이 socket 밖에 몰라서 socket.io를 사용해서 socket으로 만들다가 웹소켓을 공부하다가 보니 SSE(Server-Sent-Event)라는 것을 알게 되었습니다. 제가 평소에 공부를 해두었다면 웹소켓으로 안 만들고 SSE를 사용해서 만들었을 텐데 시간 낭비를 해버렸습니다. 이래서 평소에 공부를 해야 되는 것 같습니다. Socket과 SSE에 가장 큰 차이점을 하나 말해보라고 한다면 Socket은 양방향으로 데이터를 주고받을 수 있지만 SSE(Server-Sent-Event)를 사용하게 되면 클라이언트는 데이터를 받을 수만 있게 됩니다. 그러니까 .. wono | discuss | tweetNext
+ it dev nextjs swagger Setup Swagger in Nextjs App RouterSwagger is an Open Source set of rules, specifications, and tools for developing and describing RESTful APIs. The Swagger allows developers to create interactive, machine and human-readable API documentation. It also comes with a playground where we can try out actual APIs. In this article, we will see how to wono | discuss | tweet
+ it dev nextjs middleware Writing API Routein Nextjs14As a software engineer, change can sometimes be challenging. I love using react in its raw form because I love having control over my project. Using Nextjs has taught me that it’s never about how you… wono | discuss | tweet
+ it dev nextjs middleware Next.js Middleware for Securing API RoutesIntegrating middleware into your Next.js applications offers a powerful mechanism to enhance performance. Learn the impact of Next.js Middleware in API security. wono | discuss | tweet
+ it dev nextjs middleware Streamlining Middleware in Next.js 14 Api Routes with TypeScript: A Comprehensive GuideMiddleware plays a pivotal role in web development, offering a seamless way to handle requests, responses, and application logic. With the advent of Next.js 14 and the robustness of TypeScript… wono | discuss | tweet
+ it dev nextjs middleware How to Write Actual API Middleware for Next.jsWhenever I have to implement a web client for an app, or proof of concept of some sort, I instinctively reach for Next.js. A couple of years ago, I had to implement an app around the time Next.js… wono | discuss | tweet
+ it dev nextjs auth decorator reflect-metadata Reflect-metadata | jtwjs Dev Wiki wono | discuss | tweet
+ it dev nextjs auth decorator Decorators Routes | App Router with NextJS 14Decorators Routes | App Router with NextJS 14 . GitHub Gist: instantly share code, notes, and snippets. wono | discuss | tweet
+ it dev nextjs auth Building Your Application: Authentication | Next.jsLearn how to implement authentication in Next.js, covering best practices, securing routes, authorization techniques, and session management. wono | discuss | tweet
+ it blog arc jwt roles Easy way to put user role in JWT | CerbosLearn about embedding user roles in JWTs for managing access control in your applications. Use the technique described in this article with care. If you end up abusing this method, you'll fall into the bloated JWT anti-pattern. wono | discuss | tweet
+ it arc jwt auth0 JSON Web Token ClaimsDescribe JSON web token (JWT) claims and how they are used in Auth0. wono | discuss | tweet
+ it blog arc nestjs 백엔드 Nest.js 코드 베이스 - 기본구조 - 글로벌 인재 채용 및 협업 관리 솔루션, HyperhireIT/테크 wono | discuss | tweet
+ it rfc arc jwt Refresh token good practice: always send it in header/cookie? wono | discuss | tweet
+ it blog basic HTTP 기본 인증 ( Basic authentication )기본 인증(Basic authentication)의 예 서버가 사용자에게 인증 요구를 원할 때, 서버는 401 Unauthorized 응답과 함께 WWW-Authenticate 헤더를 포함해서 클라이언트에게 전송한다. 이 정보에는 클라이언트가 어떻게 인증해야 할지 포함되어 있고, 위 예시에서는 Basic 인증을 요청 한다. 해당 메시지를 받은 클라이언트는 서버에게 인증 메시지를 보낼 수 있다. 위 그림에서는 서버가 Basic 인증을 요청 했기 때문에, 인토딩(BASE64)된 비밀번호와 그 외 인증 파라미터들을 Authorization 헤더에 담아서 메시지를 보낸다. 성공적으로 완료되면 서버는 정상적으로 200 OK 코드를 반환한다. 추가적인 인증 알고리즘에 대한 정보는 Authentication-Info.. wono | discuss | tweet
+ it dev flutter jwt [Flutter] JWT 토큰관리 및 자동로그인 구현하기 feat. Dio Interceptor, Social Login자동로그인은 앱 개발에 대중적으로 들어가는 기능 중 하나입니다. 현업에서는 신입에게 처음 내주는 흔한 과제이기도 하지만 인증·인가를 생각한다면 쉽게 구현할 수 있는 기능은 아닙니다. 그래서 이번에는 기본적이지만 많은 학습이 필요한 로그인과 토큰 관리에 대해 알아보도록 하겠습니다. ✓JWT 발행 조건 설정 with 소셜로그인 토큰은 인증이 성공되면 그 결과로 발행됩니다. 즉 성공적으로 로그인이 된다면 서버에서 토큰을 발급해주는 로직이 구축되야 하는 것이죠. 이전에 인증은 "유저가 서비스에 자신의 신원을 확인하고 증명하는 과정"이라고 설명했었습니다. 유저의 신원을 확인하기위해선 먼저 유저를 특정할 유니크한 값을 고민해야 합니다. 자체 회원가입만 있는 앱의 경우 유저가 입력한 ID를 식별값으로 쓰면 되기 때.. wono | discuss | tweet
+ it dev golang decorator Go seems to be of the opinion that it's better to just use a small number of well-understood abstractions wono | discuss | tweet
+ it dev golang dacorator Decorator Patterns In GoIntroduction The decorator pattern is a software design pattern that lets you add more... Tagged with go, designpatterns, programming, softwareengineering. wono | discuss | tweet
+ it dev golang echo proxy Support retries of failed proxy requests by mikemherron · Pull Request #2414 · labstack/echoImplements #2372 Support for retrying proxy requests that fail due to an unavailable backend instance. wono | discuss | tweet
+ it blog sse 웹소켓 과 SSE(Server-Sent-Event) 차이점 알아보고 사용해보기최근에 어떤 이벤트가 생겼을 때 client side에 ui를 업데이트해야 되는 기능을 구현해야 됐었습니다. 처음에는 이런 경우에 사용할 수 있는 것이 socket 밖에 몰라서 socket.io를 사용해서 socket으로 만들다가 웹소켓을 공부하다가 보니 SSE(Server-Sent-Event)라는 것을 알게 되었습니다. 제가 평소에 공부를 해두었다면 웹소켓으로 안 만들고 SSE를 사용해서 만들었을 텐데 시간 낭비를 해버렸습니다. 이래서 평소에 공부를 해야 되는 것 같습니다. Socket과 SSE에 가장 큰 차이점을 하나 말해보라고 한다면 Socket은 양방향으로 데이터를 주고받을 수 있지만 SSE(Server-Sent-Event)를 사용하게 되면 클라이언트는 데이터를 받을 수만 있게 됩니다. 그러니까 .. wono | discuss | tweet