Coder Social home page Coder Social logo

procergs / login-cidadao Goto Github PK

View Code? Open in Web Editor NEW
67.0 27.0 39.0 55.96 MB

Projeto Login Cidadão

License: GNU Affero General Public License v3.0

PHP 73.81% Shell 0.17% JavaScript 10.46% CSS 2.96% HTML 12.52% Batchfile 0.01% Dockerfile 0.06%
openid-connect openidconnect php oauth2 oauth2-server identity-provider

login-cidadao's Introduction

Login Cidadão

This is an Digital Identity (DI) solution for Open Government, Networked Democracy and Colaborative Citizenship. Technically it's a federated OAuth2 and OpenID provider.

It's aimed at easy install while retaining a high level of user-control over the use of their data and the applications that have access to it.

Deployed since 2014 in Rio Grande do Sul (BR) it has today more than 500k users and has prooved to be a central tool to ease out citizen/government interactions providing SSO with preserved privacy and security for all government services read more (PT_BR)

Build Status Scrutinizer Code Quality Join the chat at https://telegram.me/IdentidadeDigital Receive updates at https://telegram.me/logincidadao

Screenshot

Screenshot

Requirements

Running an Identity Provider is not an easy task. If you plan to maintain one yourself, you MUST:

FULLY understand:

Have at least a very good understanding of:

To perform customizations you MUST have a good understanding of:

If you fail to comply with the aforementioned requirements you and your users are very likely going to get hurt

OS Dependencies

PHP Extensions

  • php5-curl
  • php5-intl
  • php5-mysql or php5-pgsql or your preferred driver
  • php5-memcache (you can use php5-memcached instead, just remember to change the Memcache classes to Memcached)

System Configuration

  • php timezone (example: date.timezone = America/Sao_Paulo)
  • write permission to app/cache, app/logs and web/uploads

Docs (Portuguese)

Você pode utilizar o visualizador em doc/index.html para exibir a documentação com uma formatação amigável em um browser iniciando um servidor built-in do PHP com o seguinte comando:

composer lc-docs <porta desejada>

login-cidadao's People

Contributors

brunosmartin avatar cabelotaina avatar diegorojas avatar gitter-badger avatar guilhermecomum avatar guilhermednt avatar jacsonp avatar lordvacilaoerrocerto avatar lpirola avatar ricardopdj avatar rosaneleite avatar scrutinizer-auto-fixer avatar victorvis avatar xaiki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

login-cidadao's Issues

UC-11 Fazer tela de recuperação de CPF

  • Solicitar CPF e senha da NFG
  • Se OK e atual dono não é nível 3
    • Antigo dono do CPF fica com CPF em branco
    • Antigo dono entra no prazo de expiração do CPF
    • Novo dono recebe CPF e nível 3
    • Antigo dono recebe email
  • Se OK e atual dono é nível 3
    • Encaminha para atendimento personalizado

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Missing translation

There is no support for translation in src/PROCERGS/LoginCidadao/CoreBundle/Resources/views/Person/register.html.twig (5badfa9)

Email conflict when linking facebook

When an existing user links its facebook account, should we ignore the email received from facebook or should we change it?

I feel that changing user's email without notice is a security issue, so I would vote to ignore the email informed by facebook.

What do you think?

Profile picture (aka avatars)

Are we forgetting this? How are we gonna handle it?

Some days ago @uira mentioned they'll need the user's profile picture for Gabinete Digital and then I realized that we didn't even thought about this topic.

What we have today: twitter and facebook send us this info already (or we can retrieve it with relative ease) but FOSUserBundle doesn't have this feature, so yeah... Although we can get the info from somewhere, we don't know what to do with it.

We could consider using gravatars, but even I had some difficulty defining @PROCERGS's avatar recently, let alone a regular user that has no idea on how gravatar works, so I suppose we can rule this option out due to usability issues.

If we allow users to upload their pictures we'll have to handle them, applying size and resolution restrictions, managing the storage strategy, allowing them to re-size and crop it, and all of those very not-fun stuff. Is there and alternative to that?

Desenhar tela de autorização de aplicação

Essa tela deverá explicar ao usuário o que está acontecendo, informando qual aplicação quer acessar seus dados e quais dados são esses.

Caso algum dado esteja faltando, exibir na própria tela um input para inserir esse dado faltante. Não esquecer do espaço para erros de validação desses campos.

Não esquecer de fazer versões para todos tamanhos de tela.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.