-
Notifications
You must be signed in to change notification settings - Fork 4
Implement simple file upload via web ui #433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Add GitHub OAuth login flow with PKCE (api/login/github) - Store GitHub access/refresh tokens in secure cookies - Add UserBadge component for login/logout UI - Add hooks.server.ts to manage session tokens and refresh - Add server-side sessionStore for token management - Add githubApi utility for GitHub API calls - Add upload page and logic to create PRs via GitHub App - Update Breadcrumbs to show upload button - Remove old upld.ts and legacy login logic - Show user badge in layouts and dashboards - Update dependencies: add octokit, @octokit/auth-app, @iconify-json/mdi - Update config submodule - Add login page and logout endpoint
Users are now redirected back to their intended page after login.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Non mi sembra funzionare, quando vai su "login with Github" da 500 Comunque era già praticamente finito sulla branch |
|
Non funziona perché non sono impostati i segreti sul deployment. Purtroppo non posso farlo perché altrimenti tutte le PR avrebbero accesso ai segreti di prod.
Si, mi ricordo, ma ho rivisto un po' tutto il procedimento ed il fatto di avere backend e frontend complica di non poco la situazione. Nel caso più generale dovremmo avere un backend con delle utenze e poi gestire OAuth come è stato pensato (standard flow). In questo modo semplifichiamo il tutto avendo tutto qui (ma dipendendo fortemente dalle API di GitHub) |
|
La lascio a @ali-benny |
|
@VaiTon Ho provato in locale non ripeto, non sembra andare Per quanto riguarda le navbar, propongo di usare lo stesso stile che avevo fatto in polleg [se verrà mergiato] |
No description provided.