Skip to content

feat: Implement IAlternativeLoginProvider - #1176

Merged
CarlSchwan merged 1 commit into
masterfrom
carl/list-saml-idp-login-page
Jul 16, 2026
Merged

feat: Implement IAlternativeLoginProvider#1176
CarlSchwan merged 1 commit into
masterfrom
carl/list-saml-idp-login-page

Conversation

@CarlSchwan

@CarlSchwan CarlSchwan commented Jul 13, 2026

Copy link
Copy Markdown
Member
image

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@CarlSchwan CarlSchwan self-assigned this Jul 13, 2026
@CarlSchwan
CarlSchwan requested a review from blizzz as a code owner July 13, 2026 13:03
@CarlSchwan CarlSchwan added this to the 8.2.0 milestone Jul 13, 2026
@CarlSchwan
CarlSchwan force-pushed the carl/list-saml-idp-login-page branch 4 times, most recently from 8811c06 to c04b8d4 Compare July 13, 2026 13:56
@CarlSchwan
CarlSchwan force-pushed the carl/list-saml-idp-login-page branch from c04b8d4 to dae34f9 Compare July 14, 2026 10:45
Signed-off-by: Carl Schwan <carlschwan@kde.org>
@CarlSchwan
CarlSchwan force-pushed the carl/list-saml-idp-login-page branch from dae34f9 to dbb8a65 Compare July 16, 2026 12:05
@CarlSchwan
CarlSchwan enabled auto-merge July 16, 2026 12:11
@CarlSchwan
CarlSchwan merged commit a64370d into master Jul 16, 2026
56 checks passed
@CarlSchwan
CarlSchwan deleted the carl/list-saml-idp-login-page branch July 16, 2026 12:23
}

$redirectUrl = $this->request->getParam('redirect_url') ?? '';
$absoluteRedirectUrl = $this->urlGenerator->getAbsoluteURL($redirectUrl);

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.

I believe this code path, which leads to a later call to getIdps() then getSSOUrl() results in the absolute version of the redirecturl being duplicated. Symptoms reported on the community help forum: https://help.nextcloud.com/t/double-url-with-saml-app-azure-loginpage-wrong-redirect/247252

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fixed in #1196

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.

3 participants