You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SUAP (Sistema Unificado de Administração Pública) is widely used by federal educational institutions in Brazil, serving as a crucial authentication system for students, teachers, and staff. Currently, developers using Next.js and NextAuth must manually implement a provider for SUAP authentication.
To enhance accessibility and streamline the authentication process for the academic community, I propose adding native support for SUAP as an official provider in NextAuth. Below is a fully functional implementation that could serve as a foundation for this integration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Goals
SUAP (Sistema Unificado de Administração Pública) is widely used by federal educational institutions in Brazil, serving as a crucial authentication system for students, teachers, and staff. Currently, developers using Next.js and NextAuth must manually implement a provider for SUAP authentication.
To enhance accessibility and streamline the authentication process for the academic community, I propose adding native support for SUAP as an official provider in NextAuth. Below is a fully functional implementation that could serve as a foundation for this integration.
Non-Goals
No response
Background
Proposal
Provider Features
OAuth provider implementation for SUAP authentication.
Mapping user data retrieved from SUAP to NextAuth's expected format.
Optionally sending the access token to the backend (depending on project needs).
Beta Was this translation helpful? Give feedback.
All reactions