Skip to content

Commit 4c4ed94

Browse files
committed
Fix OIDC display
Fixes: #8390
1 parent 94325ed commit 4c4ed94

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

changelog/unreleased/8390

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Bugfix: Fix wrong option provided to OIDC
2+
3+
We fixed a bug where we passed a wrong value to the OIDC display parameter
4+
5+
https://github.com/owncloud/client/issues/8390

src/libsync/creds/oauth.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,7 @@ QUrl OAuth::authorisationLink() const
306306
{ QStringLiteral("code_challenge_method"), QStringLiteral("S256") },
307307
{ QStringLiteral("scope"), Theme::instance()->openIdConnectScopes() },
308308
{ QStringLiteral("prompt"), Theme::instance()->openIdConnectPrompt() },
309-
{ QStringLiteral("state"), QString::fromUtf8(_state) },
310-
{ QStringLiteral("display"), Theme::instance()->appNameGUI() } });
309+
{ QStringLiteral("state"), QString::fromUtf8(_state) } });
311310

312311
if (!_account->davUser().isNull()) {
313312
const QString davUser = _account->davUser().replace(QLatin1Char('+'), QStringLiteral("%2B")); // Issue #7762;

0 commit comments

Comments
 (0)