Try to avoid injecting the context. If you only need the endpoint, you can inject the `ProviderMetadata` directly.