Skip to content

[16.0][IMP] auth_oidc: prompt for account on AAD login - #573

Merged
OCA-git-bot merged 1 commit into
OCA:16.0from
c4a8-odoo:16.0-imp-auth_oidc-select-account
Apr 12, 2024
Merged

OCA-git-bot merged 1 commit into
OCA:16.0from
c4a8-odoo:16.0-imp-auth_oidc-select-account

Conversation

@CRogos

@CRogos CRogos commented Nov 14, 2023

Copy link
Copy Markdown
Contributor

Added the possibility to add additional parameters to the auth_link.
When using the AzureAD auth, this gives the ability to set the "prompt" parameter to "select_account" which allowes to display the select account dialog during the login process. This is helpful, when you have multiple AzureAD accounts.

image

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @sbidoul,
some modules you are maintaining are being modified, check this out!

@CRogos CRogos changed the title [IMP] auth_oidc: prompt for account on AAD login [16.0][IMP] auth_oidc: prompt for account on AAD login Nov 14, 2023
@CRogos
CRogos force-pushed the 16.0-imp-auth_oidc-select-account branch 2 times, most recently from e58f7d6 to 035f78e Compare November 14, 2023 13:39
@CRogos CRogos closed this Nov 14, 2023
@CRogos CRogos reopened this Nov 14, 2023
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @sbidoul,
some modules you are maintaining are being modified, check this out!

@CRogos
CRogos force-pushed the 16.0-imp-auth_oidc-select-account branch from 035f78e to a5c32fe Compare November 14, 2023 14:11

@sbidoul sbidoul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread auth_oidc/controllers/main.py Outdated
Comment thread auth_oidc/views/auth_oauth_provider.xml
@CRogos
CRogos force-pushed the 16.0-imp-auth_oidc-select-account branch from a5c32fe to 36930e1 Compare November 14, 2023 14:18
@CRogos
CRogos marked this pull request as ready for review November 14, 2023 14:19
@CRogos
CRogos marked this pull request as draft November 14, 2023 14:24
@CRogos
CRogos force-pushed the 16.0-imp-auth_oidc-select-account branch 6 times, most recently from 962add3 to eccd2f4 Compare November 14, 2023 15:11
@CRogos
CRogos marked this pull request as ready for review November 14, 2023 15:15
@CRogos
CRogos requested a review from sbidoul November 14, 2023 15:16

@sbidoul sbidoul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still a minor ergnonomy issue, otherwise looks good.

Comment thread auth_oidc/views/auth_oauth_provider.xml
@CRogos
CRogos force-pushed the 16.0-imp-auth_oidc-select-account branch from eccd2f4 to b42317e Compare November 16, 2023 08:09
@sbidoul

sbidoul commented Nov 16, 2023

Copy link
Copy Markdown
Member

Ah, can you rebase and resolve the conflict on the CONFIGURE readme fragment?
There were rendering issues with the images, and while fixing that I took the opportunity to convert them to markdown.

@CRogos
CRogos force-pushed the 16.0-imp-auth_oidc-select-account branch from b42317e to 92a8a0e Compare November 16, 2023 11:49

@lucuswolfius lucuswolfius left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code lgtm, nice work

@CRogos

CRogos commented Feb 22, 2024

Copy link
Copy Markdown
Contributor Author

@sbidoul can you merge?

@dreispt

dreispt commented Mar 22, 2024

Copy link
Copy Markdown
Member

@CRogos Can you resolve the conflict please?

@CRogos
CRogos force-pushed the 16.0-imp-auth_oidc-select-account branch from 92a8a0e to 2010a65 Compare March 22, 2024 21:33
@CRogos

CRogos commented Apr 9, 2024

Copy link
Copy Markdown
Contributor Author

@dreispt it is rebased. can you merge?

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@dreispt

dreispt commented Apr 12, 2024

Copy link
Copy Markdown
Member

/ocabot merge minor

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-573-by-dreispt-bump-minor, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 446c789 into OCA:16.0 Apr 12, 2024
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 0c71e80. Thanks a lot for contributing to OCA. ❤️

@CRogos
CRogos deleted the 16.0-imp-auth_oidc-select-account branch April 12, 2024 11:52
@sbidoul

sbidoul commented Oct 9, 2024

Copy link
Copy Markdown
Member

@CRogos do you plan to port this to 17?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants