BRASIL
UFCG Coat of Arms

Privacy and Personal Data Protection Policy

Centralized Authentication Service (Single Sign-On — SSO UFCG)
Federal University of Campina Grande (UFCG) • Information Technology Service (STI)

🔒 LGPD Compliant (Brazilian Federal Law 13,709/2018) ✔ Google API Services User Data Policy Compliant 🏛 Brazilian Federal Public Service (MEC / UFCG)

1. Purpose and Scope

This Privacy and Personal Data Protection Policy transparently describes how the Federal University of Campina Grande (UFCG), through its Information Technology Service (STI), collects, uses, stores, protects, and shares personal data within the scope of the Centralized Authentication Service (SSO UFCG), available at https://sso.ufcg.edu.br.

The SSO UFCG system operates as an institutional Identity Provider (IdP) based on the open standards OAuth 2.0 and OpenID Connect (OIDC), enabling students, faculty, administrative staff, contractors, and external citizens to perform unified and secure logins across academic, administrative, and network connectivity services of the university.

This document has been prepared in strict compliance with applicable Brazilian legislation, notably the Brazilian General Data Protection Law — LGPD (Federal Law No. 13,709/2018), the Brazilian Civil Rights Framework for the Internet — Marco Civil da Internet (Federal Law No. 12,965/2014), Federal Decree No. 10,046/2019, as well as international policies governing federated identity providers, including the Google API Services User Data Policy.

2. Identification of Controller and Processor (LGPD)

  • Data Controller (Art. 5, item VI of the LGPD): Federal University of Campina Grande (Universidade Federal de Campina Grande – UFCG), a federal special-regime public higher education autarchy linked to the Brazilian Ministry of Education (MEC), registered under CNPJ No. 05.055.128/0001-76, headquartered at Rua Aprígio Veloso, No. 882, Bairro Universitário, Campina Grande – PB, Zip Code 58429-900, Brazil.
  • Technical Operating Unit (Processor): Information Technology Service (STI / UFCG), responsible for the cyber infrastructure, information security, and operational management of the institutional authentication backbone.

3. Personal Data Collected by Authentication Method

SSO UFCG collects only personal data that is strictly necessary (data minimization and necessity principle — Art. 6, item III of the LGPD) to securely identify the user and issue authentication tokens for the requested institutional application:

Authentication Method Personal Data Processed Data Source
Google Account (OAuth 2.0 / OIDC) Unique Google numeric identifier (sub), display name (name), email address (email), public profile picture URL (picture), and authentication method reference (amr). On initial access as an external user, CPF, civil full name, and date of birth are collected for identity verification. Google Authentication APIs (upon user consent) and civil identity validation.
Microsoft Account (OAuth 2.0 / OIDC) Platform unique identifier (sub), full name, email address, and civil CPF validation on first access for external users. Microsoft Identity Platform / Entra ID and civil identity validation.
Gov.BR (Brazilian Federal Government) CPF registration number (sub), full name, email address, profile picture, and multi-factor authentication references (amr). Brazilian Federal Digital Authentication Platform (Login Único Gov.BR).
SIG UFCG (CAS / Institutional API) User account ID in SIG, CPF, full name, institutional email address, photo, and institutional LDAP group memberships. UFCG Central Authentication Service (CAS) and Institutional Management API.
Wi-Fi Password (UFCG LDAP Directory) CPF (attribute uid), full name (cn / displayName), institutional email (mail), and affiliation groups (description). The entered password is authenticated directly against the institutional LDAP server and is never stored by the SSO. UFCG Institutional LDAP Directory.
WhatsApp / Telegram (PIN) Cellphone number, temporary 6-digit one-time PIN code, Telegram chat ID, and full name plus email on first access registration. User-submitted phone number, official messaging API delivery, and user registration form.
Security and Access Audit Logs Source IP address, Autonomous System Number (ASN), authentication timestamps, login method used, and target client application ID. Automated HTTP/HTTPS connection logs.

4. Specific Use of Google Account Data (Google OAuth 2.0 / OpenID Connect)

When you choose to use the "Sign in with Google" button on SSO UFCG (either with an institutional Google Workspace account under the domains @estudante.ufcg.edu.br, @professor.ufcg.edu.br, @tecnico.ufcg.edu.br, or with a personal @gmail.com account for external user access), the system requests authorization strictly for basic identity scopes:

  • openid: Authentication via OpenID Connect protocol to obtain the unique and immutable account identifier (sub);
  • profile (.../auth/userinfo.profile): Access to your display name and public profile picture URL;
  • email (.../auth/userinfo.email): Access to your primary Google account email address.

4.1. How we use the data received from Google

Information received from Google is used exclusively for:

  1. Authenticating your identity on the SSO UFCG portal without the university ever having access to your Google account password;
  2. Securely linking your Google account unique ID (sub) and email address to your citizen record (indexed by CPF) in the SSO UFCG verified external users database;
  3. Verifying whether the login on Google already included multi-factor authentication (claim amr in the OIDC token), thereby waiving redundant second-factor prompts when appropriate;
  4. Issuing session and identity tokens (OAuth 2.0 / OpenID Connect) exclusively to the authorized UFCG institutional systems you choose to access.
Google API Services User Data Policy — Limited Use Disclosure:

SSO UFCG's use and transfer to any other app of information received from Google APIs will adhere to the Google API Services User Data Policy, including the Limited Use requirements.

4.2. Express Prohibitions in Handling Google Data

  • SSO UFCG never sells, rents, leases, or transfers Google user data to third parties, data brokers, or advertising networks;
  • Data obtained from Google APIs is never used for serving advertisements, personalized marketing, commercial profiling, or training generalized artificial intelligence or machine learning models;
  • No human employee or contractor reads or accesses data received from Google, except when strictly necessary to investigate cybersecurity incidents, comply with statutory/legal obligations, or fulfill a support ticket explicitly opened by the data subject.

5. Civil Validation for External Users and Two-Factor Authentication (2FA / TOTP)

5.1. Initial Registration Validation (Google and Microsoft Accounts)

Because Google and Microsoft identity providers do not natively provide Brazilian civil tax identification (CPF) numbers, and UFCG institutional services legally mandate unambiguous civil identification, during the first login using these platforms SSO UFCG requests the user's Full Civil Name, CPF, and Date of Birth, and verifies identity via knowledge-based authentication questions (KBA, such as mother's first name and city of birth) matched in real time against official Brazilian Federal Revenue (Receita Federal) databases via the Serpro government integration. Once validated, the Google/Microsoft account is securely bound to the user's CPF for all subsequent logins.

5.2. Two-Factor Authentication (2FA / TOTP Unified by CPF)

To safeguard critical systems, SSO UFCG implements time-based one-time password two-factor authentication (TOTP — RFC 6238, compatible with Google Authenticator, Microsoft Authenticator, FreeOTP, and similar apps). The 2FA token identifier is always linked to the user's CPF, ensuring that the same authenticator code works uniformly regardless of which initial login provider is selected.

7. Personal Data Sharing Policy

SSO UFCG does not share personal data with private companies for commercial or advertising purposes. Data transmission occurs exclusively under the following legitimate circumstances:

  • Authorized UFCG Institutional Systems and Applications: When you use SSO UFCG to sign in to an institutional service pre-approved by STI/UFCG (e.g., Institutional VPN, campus Wi-Fi network, academic, or administrative portals), the SSO transmits via an encrypted JWT token or OIDC UserInfo endpoint only the necessary identity attributes (`sub`/CPF, full name, email, and institutional role groups);
  • Federal Data Processing Service (Serpro): Strictly during the initial civil validation stage for external users authenticating via Google or Microsoft;
  • Statutory, Judicial, or Oversight Authority Orders: When mandated by court order or competent federal audit bodies (CGU, TCU, Brazilian National Data Protection Authority — ANPD).

8. Information Security, Sessions, and Use of Cookies

8.1. Technical and Administrative Security Safeguards (Art. 46 of the LGPD)

  • Encryption in Transit: All communications between the user's browser, SSO UFCG, federated identity providers, and client applications occur exclusively over secure HTTPS (TLS) protocols;
  • Cryptographic Token Signatures: Tokens issued by SSO UFCG are digitally signed with asymmetric cryptographic keys using RSA-2048 (RS256) and/or HMAC-SHA256 to prevent tampering;
  • Defense Against Web Attacks: Strict protection against Cross-Site Request Forgery (anti-CSRF tokens and state verification), Proof Key for Code Exchange (PKCE — RFC 7636), rate limiting against brute-force attacks, and strict redirect URL whitelisting (preventing Open Redirect vulnerabilities);
  • Secure Session Token Storage: Persistent browser tokens have only their irreversible cryptographic hash (SHA-256) stored in the database.

8.2. Use of Strictly Necessary Cookies

SSO UFCG utilizes exclusively strictly necessary technical cookies required for authentication operations, equipped with HttpOnly, Secure, and SameSite=Lax security flags. We do not use third-party advertising or behavioral tracking cookies:

  • PHP Session Cookie: Maintains the temporary state of OAuth/OIDC requests, PKCE/anti-CSRF challenges, and active user session;
  • SSO Session Cookie (sso_ldap_auth): Recognizes recently authenticated sessions within the standard maximum 12-hour window (and the configured TOTP 2FA re-verification period), sparing users from retyping credentials for each institutional application visited. This cookie is immediately invalidated when the user clicks "Log Out".

9. Data Retention, Access Revocation, and Deletion

  • External Account Linking and 2FA Data: Retained while the user's account is active to enable ongoing access to UFCG systems without requiring re-registration on every login;
  • Security Audit Logs: Maintained for the mandatory statutory minimum period required by Brazilian law (Art. 15 of Law No. 12,965/2014 — Marco Civil da Internet and Federal Public Administration cybersecurity rules) for auditing and incident investigation;
  • How to Revoke Google Account Access: Users may at any time revoke permissions granted to SSO UFCG directly within their Google Account security settings by visiting https://myaccount.google.com/permissions;
  • Account Unlinking or Deletion Requests: External users wishing to unlink their Google/Microsoft account or request the elimination of their profile information and 2FA keys from the local SSO UFCG database (subject to legal audit log retention duties under Art. 16 of the LGPD) may do so at any time via the official STI/UFCG contact channels below.

10. Data Subject Rights (Art. 18 of the LGPD) and Official Contact Channels

In accordance with Article 18 of the LGPD (Law No. 13,709/2018), personal data subjects are guaranteed the right to request from the Controller (UFCG) at any time:

  • Confirmation of the existence of data processing and access to personal data;
  • Correction of incomplete, inaccurate, or outdated data;
  • Anonymization, blocking, or elimination of unnecessary, excessive, or non-compliant data;
  • Information regarding public entities with which the Controller has shared data;
  • Revocation of consent and unlinking of external login providers (Google / Microsoft), pursuant to Art. 8, § 5 of the LGPD.
Official Support, Help Desk, and Data Protection (LGPD / DPO) Channels:

1. Information Technology Service (STI / UFCG) — SSO Technical Support:
• Support Portal (Tickets): https://suporte.ufcg.edu.br
• Support Email: suporte@ufcg.edu.br
• Phone: +55 (83) 2101-1358 (Monday through Friday, 08:00–12:00 and 13:00–17:00 BRT)

2. UFCG Data Protection Officer (DPO / Encarregado LGPD) and Ombudsman (Ouvidoria):
• UFCG Institutional Portal / LGPD: https://ufcg.edu.br
• Integrated Ombudsman and Information Access Platform (Fala.BR / SIC-UFCG): https://falabr.cgu.gov.br