Closed MdreW closed 1 year ago
Hi @peppelinux , if is fine I make a pull request
@MdreW yes it's fine but related to satosa-oidcop package and not in this project
I @peppelinux , in satosa-oidcop you have linked the Satosa-Saml2Spid mongo db page for bd creation instruction! :smile:
At moment is needed only update our Mongo README :+1:
@MdreW I'm fine with a PR, if you can do that please go ahead expecting an approval :-)
@MdreW I'm fine with a PR, if you can do that please go ahead expecting an approval :-)
I'm sorry, I was hasty :sweat_smile:
in the mongodb we have an index unique for registration_access_token field, but this field is required only for the dynamic registration. I propose to add {sparse: true} in the index for skip nil value.
db.client.createIndex( { "registration_access_token": 1 }, { unique: true, sparse: true } )
https://www.mongodb.com/docs/manual/core/index-sparse/