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 valid omniauth method #4

Closed microstudi closed 1 year ago

microstudi commented 1 year ago

Adds a configurable omniauth method (defaults to "valid" and, for the moment, is the only omniauth method available).

Screenshot from 2023-05-03 17-27-39 Screenshot from 2023-05-03 17-27-18

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 79.16% and project coverage change: +1.71 :tada:

Comparison is base (deba541) 78.04% compared to head (475e905) 79.76%.

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

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4 +/- ## ========================================== + Coverage 78.04% 79.76% +1.71% ========================================== Files 9 12 +3 Lines 82 168 +86 ========================================== + Hits 64 134 +70 - Misses 18 34 +16 ``` | [Impacted Files](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/4?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [...m/trusted\_ids/on\_omniauth\_registration\_listener.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/4?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-bGliL2RlY2lkaW0vdHJ1c3RlZF9pZHMvb25fb21uaWF1dGhfcmVnaXN0cmF0aW9uX2xpc3RlbmVyLnJi) | `100.00% <ø> (ø)` | | | [lib/omniauth/strategies/valid.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/4?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-bGliL29tbmlhdXRoL3N0cmF0ZWdpZXMvdmFsaWQucmI=) | `66.03% <66.03%> (ø)` | | | [...forms/decidim/verifications/trusted\_ids\_handler.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/4?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL2Zvcm1zL2RlY2lkaW0vdmVyaWZpY2F0aW9ucy90cnVzdGVkX2lkc19oYW5kbGVyLnJi) | `63.15% <66.66%> (ø)` | | | [.../decidim/trusted\_ids/needs\_trusted\_ids\_snippets.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/4?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXBwL2NvbnRyb2xsZXJzL2NvbmNlcm5zL2RlY2lkaW0vdHJ1c3RlZF9pZHMvbmVlZHNfdHJ1c3RlZF9pZHNfc25pcHBldHMucmI=) | `100.00% <100.00%> (ø)` | | | [lib/decidim/trusted\_ids.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/4?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-bGliL2RlY2lkaW0vdHJ1c3RlZF9pZHMucmI=) | `100.00% <100.00%> (ø)` | | | [lib/decidim/trusted\_ids/engine.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/4?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-bGliL2RlY2lkaW0vdHJ1c3RlZF9pZHMvZW5naW5lLnJi) | `100.00% <100.00%> (ø)` | | | [lib/omniauth/strategies.rb](https://app.codecov.io/gh/ConsorciAOC-PRJ/decidim-module-trusted-ids/pull/4?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-bGliL29tbmlhdXRoL3N0cmF0ZWdpZXMucmI=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.