loopbackio / loopbackio/loopback-next

User authentication-jwt with MySQL

Open
#6,416 16 comments 0 reactions 1 assignee Claimed by @cioddi View on GitHub
Authentication bug
Dominant language
TypeScript
Stars
5.1k
Forks
1.1k
Avg merge
2d 21h
Merged PRs (30d)
27

Description

## Steps to reproduce

Follow the authentication tutorial below:
https://loopback.io/doc/en/lb4/Authentication-tutorial.html

## Current Behavior

The authentication-jwt package includes the User model but it's using a strict mode "false" and has, for example, an id type string which is not usual with MySQL.
It also doesn't create automatically the table in database when using npm migrate

## Expected Behavior

It should create automatically the table user in db and be compatible with MySQL schema.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.