Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6594260 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

fix: remove extra scopes for murena oidc

for OIDC login, the accessToken length is dependent on the requested
    scopes. Which cause /e/OS mail is not working as expected for long
    accessToken (mailServer has a barier on perline length of request).
    Removing not required scopes resolve this issue.

issue: https://gitlab.e.foundation/e/os/backlog/-/issues/2497
parent ed72a44b
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ enum class IdentityProvider(
        clientSecret = BuildConfig.MURENA_CLIENT_SECRET,
        redirectUri = BuildConfig.MURENA_REDIRECT_URI + ":/redirect",
        logoutRedirectUri = BuildConfig.MURENA_LOGOUT_REDIRECT_URI + ":/redirect",
        scope = "openid address profile email phone roles offline_access web-origins microprofile-jwt",
        scope = "openid profile email",
        userInfoEndpoint = null,
        baseUrl = BuildConfig.MURENA_BASE_URL,
    ),