GithubHelp home page GithubHelp logo

Comments (5)

fregante avatar fregante commented on May 30, 2024 1

Apologies for taking so long to fix this. I just updated the dependency and now it should work. I'll release fregante/list-github-dir-content#16 later, it needs further testing.

from download-directory.github.io.

fregante avatar fregante commented on May 30, 2024

download-directory.github.io already uses the header:

async function fetchRepoInfo(repo) {
const response = await fetch(`https://api.github.com/repos/${repo}`, {
headers: {
Authorization: `Bearer ${localStorage.token}`
}
});

from download-directory.github.io.

fregante avatar fregante commented on May 30, 2024

But list-github-dir-content doesn't:

https://github.com/fregante/list-github-dir-content/blob/e70408bbcfb6e0526b5e4353ead8a881169db37d/index.js#L3-L7

Moving the issue there (Edit: Transfer doesn't work)

from download-directory.github.io.

MrBartusek avatar MrBartusek commented on May 30, 2024

Well, fregante/list-github-dir-content#17 has been merged so this issue should be resolved but, I created token and received an email today so the problem clearly still occur

from download-directory.github.io.

karfau avatar karfau commented on May 30, 2024

Seems like @fregante want's to merge fregante/list-github-dir-content#16 as well before releasing a major version.
Although these mails are annoying there is still nearly a year of time until it will stop working:

Deprecation timeline

Brownouts

During a brownout, authentication using query parameters will temporarily fail. The goal is to trigger alerts (assuming there are any) on our customers' services to help them find unmigrated authentication calls.

The brownouts are scheduled for:

March 17, 2021
From 7:00 AM UTC - 10:00 AM UTC
From 4:00 PM UTC - 7:00 PM UTC

April 14, 2021
From 7:00 AM UTC - 10:00 AM UTC
From 4:00 PM UTC - 7:00 PM UTC

Removal date

All authentication using query parameters will return a status code of 401 like all other auth failures starting on:

May 5, 2021 at 4:00 PM UTC

So I guess there is no need to rush.

from download-directory.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.