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

PAT and Webauthn registration broken #227

Closed
1 task
Bubka opened this issue Sep 14, 2023 · 0 comments
Closed
1 task

PAT and Webauthn registration broken #227

Bubka opened this issue Sep 14, 2023 · 0 comments
Assignees
Labels
bug Something isn't working fixed The issue is fixed (in a coming release)
Milestone

Comments

@Bubka
Copy link
Owner

Bubka commented Sep 14, 2023

Version

4.2.0

Details & Steps to reproduce

PAT are created but never displayed:

  • Open the PAT view
  • Click Generate a new token
  • Set a name and submit

Webauthn device registration ends with a 404 error:

  • Open webauthn view
  • Click to egister a new device
  • Set a new name and submit

Expectation

PAT: The PAT should be displayed
Webauthn: new name submit should send back to the webauthn view

Error & Logs

// js error

Uncaught (in promise) Error: Redirected when going from "/settings/webauthn" to "/" via a navigation guard.
    createRouterError http://localhost/js/vendor.js:4411
    createNavigationRedirectedError http://localhost/js/vendor.js:4370
    iterator http://localhost/js/vendor.js:4741
    js http://localhost/js/app.js:25745
    iterator http://localhost/js/vendor.js:4727
    step http://localhost/js/vendor.js:4452
    step http://localhost/js/vendor.js:4453
    iterator http://localhost/js/vendor.js:4749
    beforeRouteLeave http://localhost/js/app.js:17594
    boundRouteGuard http://localhost/js/vendor.js:4877
    iterator http://localhost/js/vendor.js:4727
    step http://localhost/js/vendor.js:4452
    runQueue http://localhost/js/vendor.js:4460
    confirmTransition http://localhost/js/vendor.js:4757
    transitionTo http://localhost/js/vendor.js:4625
    push http://localhost/js/vendor.js:4971
    push http://localhost/js/vendor.js:5401
    push http://localhost/js/vendor.js:5400
    ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/views/settings/WebAuthn.vue?vue&type=script&lang=js&/register/_callee3/_callee3$/< http://localhost/js/app.js:17517
    promise callback*_callee3$ http://localhost/js/app.js:17516
    tryCatch http://localhost/js/app.js:17335
    makeInvokeMethod http://localhost/js/app.js:17335
    defineIteratorMethods http://localhost/js/app.js:17335
    asyncGeneratorStep http://localhost/js/app.js:17336
    _next http://localhost/js/app.js:17337
    promise callback*asyncGeneratorStep http://localhost/js/app.js:17336
    _next http://localhost/js/app.js:17337
    promise callback*asyncGeneratorStep http://localhost/js/app.js:17336
    _next http://localhost/js/app.js:17337
    _asyncToGenerator http://localhost/js/app.js:17337
    _asyncToGenerator http://localhost/js/app.js:17337
    register http://localhost/js/app.js:17544
    invokeWithErrorHandling http://localhost/js/vendor.js:9311
    invoker http://localhost/js/vendor.js:7131
    _wrapper http://localhost/js/vendor.js:13583
    add http://localhost/js/vendor.js:13587
    updateListeners http://localhost/js/vendor.js:7154
    updateDOMListeners http://localhost/js/vendor.js:13604
    invokeCreateHooks http://localhost/js/vendor.js:12236
    createElm http://localhost/js/vendor.js:12127
    createChildren http://localhost/js/vendor.js:12221
    createElm http://localhost/js/vendor.js:12125
    createChildren http://localhost/js/vendor.js:12221
    createElm http://localhost/js/vendor.js:12125
    createChildren http://localhost/js/vendor.js:12221
    createElm http://localhost/js/vendor.js:12125
    patch http://localhost/js/vendor.js:12652
    _update http://localhost/js/vendor.js:8446
    updateComponent http://localhost/js/vendor.js:8556
    get http://localhost/js/vendor.js:9740
    Watcher http://localhost/js/vendor.js:9730
    mountComponent http://localhost/js/vendor.js:8573
    $mount http://localhost/js/vendor.js:14882
    $mount http://localhost/js/vendor.js:17446
    init http://localhost/js/vendor.js:10477
    createComponent http://localhost/js/vendor.js:12148
    createElm http://localhost/js/vendor.js:12102
    patch http://localhost/js/vendor.js:12652
    _update http://localhost/js/vendor.js:8446
    updateComponent http://localhost/js/vendor.js:8556
    get http://localhost/js/vendor.js:9740
    Watcher http://localhost/js/vendor.js:9730
    mountComponent http://localhost/js/vendor.js:8573
    $mount http://localhost/js/vendor.js:14882
    $mount http://localhost/js/vendor.js:17446
vendor.js:4411:15

Execution environment

No response

Containerization

  • Docker

Additional information

No response

@Bubka Bubka added the bug Something isn't working label Sep 14, 2023
@Bubka Bubka self-assigned this Sep 14, 2023
@Bubka Bubka moved this from Todo to In Progress in 2FAuth backlog Sep 14, 2023
@Bubka Bubka moved this from In Progress to Done in 2FAuth backlog Sep 14, 2023
@Bubka Bubka added this to the v4.2.1 milestone Sep 14, 2023
@Bubka Bubka added the fixed The issue is fixed (in a coming release) label Sep 14, 2023
@Bubka Bubka closed this as completed in a0b3b66 Sep 14, 2023
@Bubka Bubka moved this from Done to Released in 2FAuth backlog Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed The issue is fixed (in a coming release)
Projects
Status: Released
Development

No branches or pull requests

1 participant