Skip to content

Write an ADR for use of a user's JWT now that EdxApiRestClient has been removed #277

@robrap

Description

@robrap

During the DEPR of EdxApiRestClient, some cases were replaced with plain requests object code, rather than using the updated OAuth client, using the user's JWT for service-to-service calls.

TODO: Find an example link of this change from the DEPR work.

The original intention of the new client was intentionally not to add this functionality to the new client, because it was thought that the client credentials token should be used instead of the user's JWT.

  • We should have an ADR that clarifies when and if using the user's JWT is appropriate.
    • We might potentially enhance the existing client if we wish to allow for other ways of using it.
  • Note: The new client also provides shared observability code, but is lost when using the requests code directly without a client.
  • The Authentication OEP should also link to this ADR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedReady to be picked up by anyone in the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions