Alfresco / alfresco-community-share

Alfresco Share
http://docs.alfresco.com/6.0/concepts/gs-intro.html
GNU Lesser General Public License v3.0
8 stars 16 forks source link

Add "offline_acess" to the scope for oAuth. #17

Open loftux opened 7 months ago

loftux commented 7 months ago

Add "offline_acess" to the scope for oAuth. See line: https://github.com/Alfresco/alfresco-community-share/blob/c5a6010c3091fc205e65c6c5e1743afb84c822be/share/src/main/java/org/alfresco/web/site/servlet/config/AppConfig.java#L123

Reason: Provider such as Authentik does require the client to request "offline_acess" to send a refresh token. See https://docs.goauthentik.io/docs/providers/oauth2/#refresh_token

I can of course create a PR, but it is a very simple change. Se also https://github.com/Alfresco/alfresco-community-repo/issues/2513