ConsorciAOC-PRJ / decidim-module-trusted-ids

Trusted IDs Authentications for Decidim
GNU Affero General Public License v3.0
0 stars 1 forks source link

Add secondary verification handler #10

Closed microstudi closed 1 year ago

microstudi commented 1 year ago

Adds the ViaOberta verification method that uses data from the "trusted_ids_handler" (configured by default as VAliD oauth provider)

Screenshot from 2023-07-26 13-59-14

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 99.05% and project coverage change: +3.03% :tada:

Comparison is base (0cc79b7) 93.56% compared to head (fdac3dd) 96.60%.

:exclamation: Current head fdac3dd differs from pull request most recent head bfa5b17. Consider uploading reports for the commit bfa5b17 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #10 +/- ## ========================================== + Coverage 93.56% 96.60% +3.03% ========================================== Files 12 21 +9 Lines 202 412 +210 ========================================== + Hits 189 398 +209 - Misses 13 14 +1 ``` | [Files Changed](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [...m/trusted\_ids/verifications/trusted\_ids\_handler.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL2Zvcm1zL2RlY2lkaW0vdHJ1c3RlZF9pZHMvdmVyaWZpY2F0aW9ucy90cnVzdGVkX2lkc19oYW5kbGVyLnJi) | `96.87% <85.71%> (+0.72%)` | :arrow_up: | | [...dim/via\_oberta/verifications/via\_oberta\_handler.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL2Zvcm1zL2RlY2lkaW0vdmlhX29iZXJ0YS92ZXJpZmljYXRpb25zL3ZpYV9vYmVydGFfaGFuZGxlci5yYg==) | `97.61% <97.61%> (ø)` | | | [...usted\_ids/create\_omniauth\_registration\_override.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL2NvbW1hbmRzL2NvbmNlcm5zL2RlY2lkaW0vdHJ1c3RlZF9pZHMvY3JlYXRlX29tbmlhdXRoX3JlZ2lzdHJhdGlvbl9vdmVycmlkZS5yYg==) | `100.00% <100.00%> (ø)` | | | [...usted\_ids/system/register\_organization\_override.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL2NvbW1hbmRzL2NvbmNlcm5zL2RlY2lkaW0vdHJ1c3RlZF9pZHMvc3lzdGVtL3JlZ2lzdGVyX29yZ2FuaXphdGlvbl9vdmVycmlkZS5yYg==) | `100.00% <100.00%> (ø)` | | | [...trusted\_ids/system/update\_organization\_override.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL2NvbW1hbmRzL2NvbmNlcm5zL2RlY2lkaW0vdHJ1c3RlZF9pZHMvc3lzdGVtL3VwZGF0ZV9vcmdhbml6YXRpb25fb3ZlcnJpZGUucmI=) | `100.00% <100.00%> (ø)` | | | [...m/trusted\_ids/system/organization\_form\_override.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL2Zvcm1zL2NvbmNlcm5zL2RlY2lkaW0vdHJ1c3RlZF9pZHMvc3lzdGVtL29yZ2FuaXphdGlvbl9mb3JtX292ZXJyaWRlLnJi) | `100.00% <100.00%> (ø)` | | | [...s/decidim/trusted\_ids/omniauth\_verification\_job.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL2pvYnMvZGVjaWRpbS90cnVzdGVkX2lkcy9vbW5pYXV0aF92ZXJpZmljYXRpb25fam9iLnJi) | `100.00% <100.00%> (ø)` | | | [...cerns/decidim/trusted\_ids/organization\_override.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL21vZGVscy9jb25jZXJucy9kZWNpZGltL3RydXN0ZWRfaWRzL29yZ2FuaXphdGlvbl9vdmVycmlkZS5yYg==) | `100.00% <100.00%> (ø)` | | | [.../models/decidim/trusted\_ids/organization\_config.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL21vZGVscy9kZWNpZGltL3RydXN0ZWRfaWRzL29yZ2FuaXphdGlvbl9jb25maWcucmI=) | `100.00% <100.00%> (ø)` | | | [app/services/decidim/via\_oberta/api/request.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL3NlcnZpY2VzL2RlY2lkaW0vdmlhX29iZXJ0YS9hcGkvcmVxdWVzdC5yYg==) | `100.00% <100.00%> (ø)` | | | ... and [3 more](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/10?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.