Skip to content

Migrate from @adobe/aio-cli-plugin-jwt-auth to @adobe/aio-lib-ims #129

Closed

Description

@justinedelson

@adobe/aio-cli-plugin-jwt-auth has been deprecated in favor of @adobe/aio-lib-ims.

In order to migrate and achieve a level of backwards compatibility, there must be some migration process from the "old" configuration structure (jwt_auth) to the new one (ims.contexts.CONTEXT_NAME). This migration can be automatically done in an init hook, with the following caveats:

  • If there is local config, it should be migrated to local, not global config.
  • If there is global config, it should be migrated to global config.
  • If the config is passed through environment variables, no migration should be done.

This will still technically be a breaking change since passphrase is not supported (see adobe/aio-lib-ims#52).

However, at this point this is blocking a separate feature request (#198) since if a flag was provided to select an alternate configuration key for the configuration used with @adobe/aio-cli-plugin-jwt-auth migration would not be possible in a fully automated fashion.

Activity

  1. added 2 commits that reference this issue on Jul 8, 2020
    8c0a060
    856f90b
  2. added this to the 0.12.0 milestone on Jul 9, 2020
  3. aiojbot commented on Jul 9, 2020

    @aiojbot
  4. modified the milestones: 0.12.0, 0.13.0 on Jul 23, 2020
  5. removed this from the 0.13.0 milestone on Sep 29, 2020
  6. justinedelson commented on Sep 29, 2020

    @justinedelson
    MemberAuthor

    This is blocked by adobe/aio-lib-ims#52

  7. added
    blockedProgress cannot be made because of some other issue
    on Sep 29, 2020
  8. removed
    blockedProgress cannot be made because of some other issue
    on Feb 6, 2021
  9. added 4 commits that reference this issue on Feb 6, 2021
    bf0d98b
    935235a
    79593af
    b6da45f
  10. added a commit that references this issue on Feb 6, 2021
  11. github-actions commented on Feb 6, 2021

    @github-actions

    🎉 This issue has been resolved in version 1.0.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions