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

[1.2] Unable to Login #57

Closed
2 of 3 tasks
DanielKong94 opened this issue Oct 10, 2023 · 1 comment
Closed
2 of 3 tasks

[1.2] Unable to Login #57

DanielKong94 opened this issue Oct 10, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@DanielKong94
Copy link

DanielKong94 commented Oct 10, 2023

PHP & Platform

8.2.8 - MacOS

Database

MySQL 8.0.27

Laravel version

10

Have you done this?

  • I have checked my logs and I'm sure is a bug in this package.
  • I can reproduce this bug in isolation (vanilla Laravel install)
  • I can suggest a workaround as a Pull Request

Expectation

when i try to login. but it prompt the error below.

Description

Prompt my user table missing column. i just migrate the default db souce from package

Reproduction

i was used the default function from package
public function login(AssertedRequest $request): Response
 {
     return response()->noContent($request->login('admin') ? 204 : 422);
 }

Stack trace & logs

Column not found: 1054 Unknown column 'rawId' in 'where clause' (Connection: mysql, SQL: select * from table where id = IUFjLK-rfAh7U3oV_zP_uJ6YW3umWXo3fipCY3HE6Ho and rawId = IUFjLK+rfAh7U3oV/zP/uJ6YW3umWXo3fipCY3HE6Ho= and response in (u2ghoRLl52c6KTnfJU/7W3nVPzrVuUA/98mAWWV0hw8FAAAAAA==, eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiX2QtNC1tVjJfUEVueUFTZkJHNnBRdyIsIm9yaWdpbiI6Imh0dHBzOi8vYmFzZS10ZW1wbGF0ZS50ZXN0IiwiY3Jvc3NPcmlnaW4iOmZhbHNlfQ==, MEYCIQDhaC21Gjmin6oB9tyvrQJSsrukRNcscvd8s36HRxrT+AIhAL3RS6G4idm6mgfoWeak8SIgtJla++A4saiAznGWV6ih, a07bc26051d04b909c9dfce9f9068255) and type = public-key limit 1)

@DanielKong94 DanielKong94 added the bug Something isn't working label Oct 10, 2023
@DanielKong94 DanielKong94 changed the title [X.x] What does happen that is considered an error or bug? [X.x] Unable to Login Oct 10, 2023
@DanielKong94 DanielKong94 changed the title [X.x] Unable to Login [1.2] Unable to Login Oct 10, 2023
@DarkGhostHunter
Copy link
Contributor

This will happen if you don't set the WebAuthnUserProvider as the README says.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants