Skip to content

PAV-6: Login social LinkedIn (OAuth)#145

Merged
Benevanio merged 9 commits into
Cla-Code-Community:developfrom
jeremiassnts:feature/pav-6
Jun 18, 2026
Merged

PAV-6: Login social LinkedIn (OAuth)#145
Benevanio merged 9 commits into
Cla-Code-Community:developfrom
jeremiassnts:feature/pav-6

Conversation

@jeremiassnts

Copy link
Copy Markdown

Descrição

Implementa o login social com LinkedIn (OAuth) no Painel Vagas. No backend, foi adicionado o provider LinkedIn com validação de email obrigatório. No frontend, o botão "Entrar com Facebook" foi substituído pelo botão "Entrar com LinkedIn" nas telas de login e registro, e a função getLinkedinAuthUrl foi adicionada ao authService. Testes foram atualizados para cobrir os novos fluxos e manter o threshold de 80% de cobertura.

Linear link

https://linear.app/tatame/issue/PAV-6/login-social-linkedin-oauth

Como foi testado

Testes unitários — Backend: 309/309 passando | Frontend: 149/153 (4 falhas pré-existentes em jobsService.test.ts)

Jeremias Santos and others added 9 commits June 17, 2026 08:55
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix exchangeLinkedinCode to match ExchangeCodeParams interface
- Use callbackUrl + expectedState like Google provider
- Add email validation in handleCallback — reject profiles without email
- Add integration tests for LinkedIn callback and email-absent case

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add handleLinkedinLogin handler in RigthSide and RegisterSide
- Replace Facebook button with LinkedIn button using inline SVG icon
- Add tests for LinkedIn button click triggering OAuth redirect

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add unit test for email validation in handleCallback (oauth_email_required)
- Add LinkedIn provider to auth.service mock registry
- Add logInfo test without ctx to cover nullish coalescing branch

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
A skill usava origin/develop para comparacoes e nao passava --head no
gh pr create, causando falha ao criar PRs de um fork. Agora usa
upstream/develop e --head <owner-do-fork>:<branch>.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Bene Tesla's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
painel-vagas Ready Ready Preview, Comment Jun 18, 2026 12:18am

@Benevanio Benevanio merged commit ea7fd72 into Cla-Code-Community:develop Jun 18, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in JobAtlas – Kanban Jun 18, 2026
jeremiassnts pushed a commit to jeremiassnts/Jobs_Scraper_Global that referenced this pull request Jun 19, 2026
…unity#145 LinkedIn OAuth)

Mantém tanto GitHub OAuth (pav-58) quanto LinkedIn OAuth (pav-6)
nos componentes de login/registro e no authService.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants