Skip to content

Update oidc-provider to v7 #1134

Closed
Closed

Description

@jvherweg

We probably want to upgrade to v7 to make sure we have the latest updates, but this is going to require some research to make sure nothing breaks.

Full v7 changelog: https://github.com/panva/node-oidc-provider/blob/main/CHANGELOG.md#700-2021-03-03

Some things that I noted while seeing if this would be an easy change:

  • Typings are no longer part of the package and need to be installed separately
  • Several new ttl entries in the config
  • Should update the dpop draft version
  • The formats config option can be removed (I think?)
  • InteractionCompleter now needs an accountId field instead of `account.
  • provider.callback(request, response) -> provider.callback()(request, response). Should check if this is still a promise
  • config.audiences function no longer exists. Will have to investigate how to correctly set audiences now.
  • After doing the minimal changes so everything compiled, logging kept going back to the confirm screen due to an op_scopes_missing reason, so perhaps something needs to change so we return the correct scopes again?

Activity

  1. jvherweg commented on Apr 5, 2022

    @jvherweg
    MemberAuthor

    Was done in #1166.

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

    ⚙️ dependencies👩🏾‍💻 developer experience

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions