Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/ecommerce-server/src/auth/jwt/base/jwt.strategy.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { UserInfo } from "../../UserInfo";

export class JwtStrategyBase
extends PassportStrategy(Strategy)
implements IAuthStrategy {
implements IAuthStrategy
{
constructor(
protected readonly userService: UserService,
protected readonly secretOrKey: string
Expand Down
2 changes: 1 addition & 1 deletion apps/ecommerce-server/src/swagger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const swaggerDocumentOptions = new DocumentBuilder()
.setDescription(
'Sample service for e-commerce\n\n## Congratulations! Your service resource is ready.\n \nPlease note that all endpoints are secured with JWT Bearer authentication.\nBy default, your service resource comes with one user with the username "admin" and password "admin".\nLearn more in [our docs](https://docs.amplication.com)'
)
.setVersion("i30p1hpo")
.setVersion("6nccm290")
.addBearerAuth()
.build();

Expand Down