loopbackio / loopbackio/loopback-next

User authentication-jwt with MySQL

Offen
#6,416 16 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@cioddi arbeitet bereits daran.

Seit 29.10.2020.

Authentication bug
Vorherrschende Sprache
TypeScript
Sterne
5.1k
Forks
1.1k
Ø Merge
2 T. 21 Std.
Gemergte PRs (30 T.)
27

Beschreibung

## 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.