semapps icon indicating copy to clipboard operation
semapps copied to clipboard

POD login

Open srosset81 opened this issue 3 years ago • 0 comments

Allow to create one's user profile in a POD, and log in with it

See https://pad.lescommuns.org/xG1c0W73RrqlYDfApzGX3g

Usage

// Env variables
REACT_APP_POD_PROVIDERS=http://localhost:4000/form

// LoginPage
const LoginPage = props => <PodLoginPage text="Sélectionnez un hébergeur de PODs" podProviders={process.env.REACT_APP_POD_PROVIDERS.split(',')} {...props} />

// In data servers
  pod: {
    pod: true,
    authServer: true,
    containers: {
      pod: {
        'vcard:Location': ['/locations'],
        'vcard:Individual': ['/profiles'],
      },
    },
  },

srosset81 avatar Jul 26 '22 16:07 srosset81