Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N nextcloud
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • stackspin
  • nextcloud
  • Issues
  • #41
Closed
Open
Created Jul 08, 2020 by Maarten de Waard@maartenOwner

Update configuration for new version of sociallogin

The newest version of sociallogin has a new way of configuring custom oauth providers. Old config:

            "custom_oidc_providers": "[{\"name\":\"oas\",\"title\":\"OpenAppStack\",\"authorizeUrl\":\"https:\\\/\\\/sso.demo.openappstack.net\\\/oauth2\\\/auth\",\"tokenUrl\":\"https:\\\/\\\/sso.demo.openappstack.net\\\/oauth2\\\/token\",\"userInfoUrl\":\"https:\\\/\\\/sso.demo.openappstack.net\\\/userinfo\",\"logoutUrl\":\"\",\"clientId\":\"nextcloud\",\"clientSecret\":\"GIEFgeQxfVHbayHcVClJ\",\"scope\":\"openid profile email openappstack_roles\",\"groupsClaim\":\"openappstack_roles\",\"style\":\"\",\"defaultGroup\":\"\",\"groupMapping\":{\"admin\":\"admin\"}}]",

New config:

            "custom_providers": "{\"custom_oidc\":[{\"name\":\"test\",\"title\":\"Test\",\"authorizeUrl\":\"https:\\\/\\\/example.com\",\"tokenUrl\":\"https:\\\/\\\/example.com\",\"userInfoUrl\":\"https:\\\/\\\/example.com\",\"logoutUrl\":\"https:\\\/\\\/example.com\",\"clientId\":\"tsra\",\"clientSecret\":\"tsra\",\"scope\":\"tsra\",\"groupsClaim\":\"\",\"style\":\"\",\"defaultGroup\":\"\"}]}",

It looks like everything can stay the same, except that we need to use custom_providers.custom_oidc instead of custom_oidc_providers.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking