OCA / server-auth

https://odoo-community.org/psc-teams/tools-30
GNU Affero General Public License v3.0
156 stars 421 forks source link

[16.0][ADD] auth_oidc_portal: Link OAuth provider on portal user create #572

Open CRogos opened 11 months ago

CRogos commented 11 months ago

Adds OAuth Provider field to grant portal access wizard

image

feedback highly welcome.

CRogos commented 11 months ago

Anyone an idea why this unit test is failing after adding my module?

2023-11-14 15:26:59,666 831 ERROR odoo odoo.addons.password_security.tests.test_signup: FAIL: TestPasswordSecuritySignup.test_02_signup_user_success
Traceback (most recent call last):
  File "/__w/server-auth/server-auth/password_security/tests/test_signup.py", line 63, in test_02_signup_user_success
    self.assertEqual(
AssertionError: '/my' != '/web/login_successful?account_created=True'
- /my
+ /web/login_successful?account_created=True
CRogos commented 11 months ago

@sbidoul: do you have an hint, how to fix this test compatibility issue?

CRogos commented 11 months ago

The test fails, when the "portal" module is installed. I've changed the test to be compatible with the changed return url.

github-actions[bot] commented 7 months ago

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

CRogos commented 7 months ago

@dreispt what do you think of this addon?

github-actions[bot] commented 3 months ago

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.