Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

OIDC: revoke tokens on logout #11718

Merged
merged 97 commits into from
Oct 15, 2023
Merged

Commits on Jul 11, 2023

  1. test persistCredentials without a pickle key

    Kerry Archibald committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    2607997 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Configuration menu
    Copy the full SHA
    3506c06 View commit details
    Browse the repository at this point in the history
  2. test setLoggedIn with pickle key

    Kerry Archibald committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    609f790 View commit details
    Browse the repository at this point in the history
  3. lint

    Kerry Archibald committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    f3092c7 View commit details
    Browse the repository at this point in the history
  4. type error

    Kerry Archibald committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    fad7f33 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    32d5fb0 View commit details
    Browse the repository at this point in the history
  6. store has_refresh_token too

    Kerry Archibald committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    e6529f1 View commit details
    Browse the repository at this point in the history
  7. pass refreshToken from oidcAuthGrant into credentials

    Kerry Archibald committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    66d57e5 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. rest restore session with pickle key

    Kerry Archibald committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    b33e347 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'kerry/25708/test-persist-credentials' into kerry/25708/…

    …save-refresh-token
    Kerry Archibald committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    823ba2e View commit details
    Browse the repository at this point in the history
  3. retreive stored refresh token and add to credentials

    Kerry Archibald committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    e91bbf4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b7e0603 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'kerry/25708/test-persist-credentials' into kerry/25708/…

    …save-refresh-token
    Kerry authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    b8b0c86 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3ed9cc1 View commit details
    Browse the repository at this point in the history
  7. extract token decryption into function

    Kerry Archibald committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    221d306 View commit details
    Browse the repository at this point in the history
  8. remove TODO

    Kerry Archibald committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    64dbc94 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

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

Commits on Jul 17, 2023

  1. Merge branch 'kerry/25708/test-persist-credentials' into kerry/25708/…

    …save-refresh-token
    Kerry authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    9272110 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f5fc31 View commit details
    Browse the repository at this point in the history
  3. very messy poc

    Kerry Archibald committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    1708bef View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Merge branch 'develop' into kerry/token-refresh-poc

    Kerry Archibald committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    1b76c18 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. Merge branch 'develop' into kerry/25708/save-refresh-token

    Kerry Archibald committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    d24fbd0 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'kerry/25708/save-refresh-token' of https://github.com/m…

    …atrix-org/matrix-react-sdk into kerry/25708/save-refresh-token
    Kerry Archibald committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    880c258 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    65c0734 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2bab36b View commit details
    Browse the repository at this point in the history
  5. add dep oidc-client-ts

    Kerry Archibald committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    66dc9fb View commit details
    Browse the repository at this point in the history
  6. persist issuer and clientId after successful oidc auth

    Kerry Archibald committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    a5c0a51 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. add OidcClientStore

    Kerry Archibald committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    50f3fe4 View commit details
    Browse the repository at this point in the history
  2. comments and tidy

    Kerry Archibald committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    3681b2e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    978109a View commit details
    Browse the repository at this point in the history
  4. Merge branch 'kerry/25708/restore-refresh-token' into kerry/25709/rev…

    …oke-tokens
    Kerry Archibald committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    05d6252 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    880671c View commit details
    Browse the repository at this point in the history
  6. revoke tokens with oidc provider

    Kerry Archibald committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    97a9c89 View commit details
    Browse the repository at this point in the history
  7. test logout action in MatrixChat

    Kerry Archibald committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    b75ad17 View commit details
    Browse the repository at this point in the history
  8. comments

    Kerry Archibald committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    70ddb4a View commit details
    Browse the repository at this point in the history
  9. Merge branch 'kerry/25708/save-refresh-token' into kerry/25708/restor…

    …e-refresh-token
    Kerry Archibald committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    22329b9 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'develop' into kerry/25708/save-refresh-token

    Kerry Archibald committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    56441dc View commit details
    Browse the repository at this point in the history
  11. prettier

    Kerry Archibald committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    af481b2 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'kerry/25708/save-refresh-token' into kerry/25708/restor…

    …e-refresh-token
    Kerry Archibald committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    976ec8c View commit details
    Browse the repository at this point in the history
  13. Merge branch 'kerry/25708/restore-refresh-token' into kerry/25709/rev…

    …oke-tokens
    Kerry Archibald committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    70b7ca2 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. test OidcClientStore.revokeTokens

    Kerry Archibald committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    07195c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    31822a5 View commit details
    Browse the repository at this point in the history
  3. put pickle key destruction back

    Kerry Archibald committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    4f1bb4e View commit details
    Browse the repository at this point in the history
  4. Merge branch 'kerry/25708/restore-refresh-token' into kerry/token-ref…

    …resh-poc
    Kerry Archibald committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    ae80087 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. Merge branch 'develop' into kerry/25708/restore-refresh-token

    Kerry Archibald committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    ddd8ed7 View commit details
    Browse the repository at this point in the history
  2. comment pedantry

    Kerry Archibald committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    8cd5823 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'kerry/25708/restore-refresh-token' into kerry/token-ref…

    …resh-poc
    Kerry Archibald committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    ca24f0a View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2023

  1. Merge branch 'develop' into kerry/token-refresh-poc

    Kerry Archibald committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    1fa7809 View commit details
    Browse the repository at this point in the history
  2. working refresh without persistence

    Kerry Archibald committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    97fad4d View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. extract token persistence functions to utils

    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    e3673ee View commit details
    Browse the repository at this point in the history
  2. Merge branch 'kerry/25392/extract-token-functions' into kerry/token-r…

    …efresh-poc
    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    41a4eb3 View commit details
    Browse the repository at this point in the history
  3. add sugar

    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    1c8e8cb View commit details
    Browse the repository at this point in the history
  4. Merge branch 'kerry/25392/extract-token-functions' into kerry/token-r…

    …efresh-poc
    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    0d558d7 View commit details
    Browse the repository at this point in the history
  5. implement TokenRefresher class with persistence

    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    5986b6c View commit details
    Browse the repository at this point in the history
  6. tidying

    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    7db7291 View commit details
    Browse the repository at this point in the history
  7. persist idTokenClaims

    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    dcd3026 View commit details
    Browse the repository at this point in the history
  8. persist idTokenClaims

    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    4921e78 View commit details
    Browse the repository at this point in the history
  9. tests

    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    6ba08a2 View commit details
    Browse the repository at this point in the history
  10. remove unused cde

    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    c962ca1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0b4c4d8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3590f9c View commit details
    Browse the repository at this point in the history
  13. Merge branch 'kerry/25392/persist-oidc-token-claims' into kerry/token…

    …-refresh-poc
    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    87eb820 View commit details
    Browse the repository at this point in the history
  14. create token refresher during doSetLoggedIn

    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    153ec78 View commit details
    Browse the repository at this point in the history
  15. tidying

    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    ebdf0d5 View commit details
    Browse the repository at this point in the history
  16. also tidying

    Kerry Archibald committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    2b1e73c View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Merge branch 'develop' into kerry/25709/revoke-tokens

    Kerry Archibald committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    b9b5411 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    e578107 View commit details
    Browse the repository at this point in the history
  2. OidcClientStore.initClient use stored issuer when client well known u…

    …navailable
    Kerry Archibald committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    f345a09 View commit details
    Browse the repository at this point in the history
  3. test Lifecycle.logout

    Kerry Archibald committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    83de914 View commit details
    Browse the repository at this point in the history
  4. update Lifecycle test replaceUsingCreds calls

    Kerry Archibald committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    7e081d4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7048c03 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'kerry/25709/revoke-tokens' of https://github.com/matrix…

    …-org/matrix-react-sdk into kerry/25709/revoke-tokens
    Kerry Archibald committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    80dfd23 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Configuration menu
    Copy the full SHA
    69b3cab View commit details
    Browse the repository at this point in the history
  2. fix test

    Kerry Archibald committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    b2a3cd1 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

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

Commits on Oct 10, 2023

  1. Merge branch 'develop' into kerry/token-refresh-poc

    Kerry Archibald committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    d302374 View commit details
    Browse the repository at this point in the history
  2. tidy

    Kerry Archibald committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    df70f53 View commit details
    Browse the repository at this point in the history
  3. test tokenrefresher creation in login flow

    Kerry Archibald committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    0b0bb61 View commit details
    Browse the repository at this point in the history
  4. test token refresher

    Kerry Archibald committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    8a47e6e View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Update src/utils/oidc/TokenRefresher.ts

    Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
    Kerry and richvdh authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    a32ca16 View commit details
    Browse the repository at this point in the history
  2. use literal value for m.authentication

    Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
    Kerry and richvdh authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    5370474 View commit details
    Browse the repository at this point in the history
  3. improve comments

    Kerry Archibald committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    7f40f86 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'kerry/token-refresh-poc' of https://github.com/matrix-o…

    …rg/matrix-react-sdk into kerry/token-refresh-poc
    Kerry Archibald committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    ead0aae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c0fdf9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6953b45 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    541a6e6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ec3421a View commit details
    Browse the repository at this point in the history
  9. fix test mock, comment

    Kerry Archibald committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    866296d View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. typo

    Kerry Archibald committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    1a232b7 View commit details
    Browse the repository at this point in the history
  2. add sdkContext to SoftLogout, pass oidcClientStore to logout

    Kerry Archibald committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    fc10e64 View commit details
    Browse the repository at this point in the history
  3. fullstops

    Kerry Archibald committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    1f7dd1b View commit details
    Browse the repository at this point in the history
  4. comments

    Kerry Archibald committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    f1fdd13 View commit details
    Browse the repository at this point in the history
  5. fussy comment formatting

    Kerry Archibald committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    09b8d13 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a3c50ad View commit details
    Browse the repository at this point in the history
  7. Merge branch 'develop' into kerry/25709/revoke-tokens

    Kerry Archibald committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    ba2a561 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a5a8d1b View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2023

  1. Configuration menu
    Copy the full SHA
    21147d2 View commit details
    Browse the repository at this point in the history