semapps
semapps copied to clipboard
POD login
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'],
},
},
},