Scenario Services Components
light
Configuration

By default scseAuth is disabled for SCSE applications.

To use scseAuth with sensible defaults, add the following to the scseComponents section in nuxt.config.ts :

              scseComponents: {
              ...
                scseAuth: {
                  enabled: true,
                },
              }
              

In order to use scseAuth an ixmp4 platform must be set in the configuration.

              scseComponents: {
                ...
                ixmp: {
                  server: 'https://ixmp.ece.iiasa.ac.at/',
                  platform: 'public-test'
                },
                ...
              }
              

In order to be able to use scseAuth an SCSE application needs to provide a login page.

The configuration may be further customized by setting paths to redirect to after log in and log out.

              scseComponents: {
              ...
                scseAuth: {
                  enabled: true,
                  pages: {
                    login: '/login',
                    profile: '/profile',
                    redirect: {
                      afterLogin: '/explorer',
                      afterLogout: '/goodbye',
                    },
                  },
                },
              ...
              }