Closed Fil closed 4 years ago
Notes: Github authorization needs to be rewritten. There's no need to construct the auth URL ourselves. Instead we need to post to https://api.observablehq.com/login
, passing the following data:
token: {csrf token}
path: /loggedin/
login: {username}
The response will be a 302 redirect to the Github auth URL (or whatever service the user registered with).
I managed to handle the Observable side, but the Github forms seem to need some adjusting. Might continue looking into it tomorrow.
@Fil Are you using 2FA?
Yes
Le sam. 15 août 2020 à 16:15, Fabian Iwand notifications@github.com a écrit :
@Fil https://github.com/Fil Are you using 2FA?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mootari/observable-client/issues/2#issuecomment-674403630, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAABWWKNLYGKF7S37M3T5HDSA2J7JANCNFSM4P6YSOGQ .
-- -- Fil
@Fil mind giving #3 a try?
log:
( I deleted ./node_modules/flat-cache/.cache/cacheId )