rawilk / profile-filament-plugin

Profile & MFA starter kit for filament.
https://randallwilk.dev/docs/profile-filament-plugin
MIT License
10 stars 3 forks source link

Cannot use passkeys with non-default panel #20

Open austincarpenter opened 4 months ago

austincarpenter commented 4 months ago

profile-filament-plugin Version

v0.3.2

Laravel Version

v10.46

Bug description

Adding a passkey fails in a panel other than the default one. This is because a 403 occurs on the client side when fetching /sessions/webauthn/attestation-pk. Somewhere in this flow I believe the 'current panel' is resolved, erroneously returning the default one which in my instance the user does not have access to.****

Steps to reproduce

As above.

Relevant log output

No response

rawilk commented 3 months ago

I noticed that too, however I haven't had a chance to properly deal with it yet.