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

feat(nextjs,clerk-react): Experimental protectComponent, protectAction, protectRoute #4267

Draft
wants to merge 83 commits into
base: main
Choose a base branch
from

Commits on Sep 8, 2024

  1. WIP

    panteliselef committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    cc45755 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. useAssurance internally

    panteliselef committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    243e846 View commit details
    Browse the repository at this point in the history
  2. minor cleanup

    panteliselef committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    2b186f6 View commit details
    Browse the repository at this point in the history
  3. fix tests

    panteliselef committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    0bef2f6 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. remove search params

    panteliselef committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    ec63553 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'refs/heads/main' into elef/user-665-display-userverific…

    …ation-for-sensitive-actions-in
    panteliselef committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    4d4eeca View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Merge branch 'refs/heads/main' into elef/user-665-display-userverific…

    …ation-for-sensitive-actions-in
    
    # Conflicts:
    #	packages/clerk-js/src/core/resources/Session.ts
    panteliselef committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    1a6446a View commit details
    Browse the repository at this point in the history
  2. refactor

    panteliselef committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    374146a View commit details
    Browse the repository at this point in the history
  3. clean up assurance

    panteliselef committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    678a2c6 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'refs/heads/main' into elef/user-665-display-userverific…

    …ation-for-sensitive-actions-in
    panteliselef committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    85c5cd4 View commit details
    Browse the repository at this point in the history
  5. fix localizations

    panteliselef committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    9ae4a62 View commit details
    Browse the repository at this point in the history
  6. add changeset

    panteliselef committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    f025a26 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    274ef1d View commit details
    Browse the repository at this point in the history
  8. Merge branch 'refs/heads/main' into elef/user-665-display-userverific…

    …ation-for-sensitive-actions-in
    panteliselef committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    0b02ad4 View commit details
    Browse the repository at this point in the history
  9. update localization

    panteliselef committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    68d078a View commit details
    Browse the repository at this point in the history
  10. update changelog

    panteliselef committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    319fab0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f5099c8 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    fec40a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d7a9c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d5a871 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    063509a View commit details
    Browse the repository at this point in the history
  5. Revert "avoid using arbitrary zIndexes"

    This reverts commit 063509a.
    panteliselef committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    8280af9 View commit details
    Browse the repository at this point in the history
  6. Revert "restore portals and drop zIndex"

    This reverts commit 4d5a871.
    panteliselef committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    df6f3a1 View commit details
    Browse the repository at this point in the history
  7. Revert "remove portals from all menus/select components"

    This reverts commit fec40a1.
    panteliselef committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    8f6a7d2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8ea72f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Server side protect()

    panteliselef committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    3b427c1 View commit details
    Browse the repository at this point in the history
  2. Client side protect()

    panteliselef committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    71f4dfe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7fe540b View commit details
    Browse the repository at this point in the history
  4. clerk-js: fix weird bug where afterVerification would not be called b…

    …ecause it was dropped into task queue and we already had stuff on the microtask queue that would wait for afterVerification to be triggered.
    panteliselef committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    7410f07 View commit details
    Browse the repository at this point in the history
  5. Add useAssurance

    panteliselef committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    e3a7bad View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5ad3efe View commit details
    Browse the repository at this point in the history
  7. wip

    panteliselef committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    771e92b View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    d463d10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a265b3 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. support json responses

    panteliselef committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    db0af27 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. improve types

    panteliselef committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    3d39db7 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    4ac57d6 View commit details
    Browse the repository at this point in the history
  2. fallback modal

    panteliselef committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    4554d8b View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. create protectComponent

    panteliselef committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    bc85b66 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    12df638 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    56daee7 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    21b224d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33f11f7 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    6e762a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3023028 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'refs/heads/main' into elef/user-722-create-the-new-protect

    # Conflicts:
    #	packages/clerk-js/bundlewatch.config.json
    #	packages/shared/src/authorization.ts
    #	packages/types/src/sessionVerification.ts
    panteliselef committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    271ddc5 View commit details
    Browse the repository at this point in the history
  4. use __experimental_SessionVerificationMaxAgeMinutes instead of __expe…

    …rimental_SessionVerificationMaxAge
    panteliselef committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    1a5a8ee View commit details
    Browse the repository at this point in the history
  5. add changeset

    panteliselef committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    baedbdb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    26ac152 View commit details
    Browse the repository at this point in the history
  7. cleanup e2e tests

    panteliselef committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    3780eb4 View commit details
    Browse the repository at this point in the history
  8. remove unused code

    panteliselef committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    0047cbb View commit details
    Browse the repository at this point in the history
  9. update snapshot

    panteliselef committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f3d182b View commit details
    Browse the repository at this point in the history
  10. bring back delete pages

    panteliselef committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    2244583 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. bring back delete pages

    panteliselef committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    c12895c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54f1f91 View commit details
    Browse the repository at this point in the history
  3. drop useAssurance

    panteliselef committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    f8f839e View commit details
    Browse the repository at this point in the history
  4. remove unused code

    panteliselef committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    be216de View commit details
    Browse the repository at this point in the history
  5. clean up shared logic

    panteliselef committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    ba02f9a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    77c58d3 View commit details
    Browse the repository at this point in the history
  7. cleanup unused code

    panteliselef committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    8c336ab View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9792e24 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ca24369 View commit details
    Browse the repository at this point in the history
  10. enable serverActions

    panteliselef committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    4a49bf3 View commit details
    Browse the repository at this point in the history
  11. remove console.log

    panteliselef committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    cf460ff View commit details
    Browse the repository at this point in the history
  12. add changesets

    panteliselef committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    c16bcd8 View commit details
    Browse the repository at this point in the history
  13. increase timeout

    panteliselef committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    8a7c218 View commit details
    Browse the repository at this point in the history
  14. increase timeout

    panteliselef committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    4b920b8 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    cd663f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. wip

    panteliselef committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5dd706f View commit details
    Browse the repository at this point in the history
  2. wip 2

    panteliselef committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f41aae5 View commit details
    Browse the repository at this point in the history
  3. wip 3

    panteliselef committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    3849f69 View commit details
    Browse the repository at this point in the history
  4. wip 4

    panteliselef committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f08e4e1 View commit details
    Browse the repository at this point in the history
  5. final

    panteliselef committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    e805507 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. change tests waittime

    panteliselef committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    538ce80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    143c009 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    a02b70b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    721c3bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a416a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    698eaa9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e9b6227 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0e45319 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ca869e2 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. bump duration

    panteliselef committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    cdf1f7d View commit details
    Browse the repository at this point in the history