denoland / deno_cache_dir

Deno CLI's module cache

Home Page:https://jsr.io/@deno/cache-dir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AuthToken fails to return appropriate token

jollytoad opened this issue · comments

There appears to be a couple of bugs in AuthToken:

  • internally token and host are switched around, so it never finds the token for a host
  • Basic tokens are not base64 encoded

I've forked, fixed and added tests.