italia / spid-testenv2

New test Identity Provider for SPID
GNU Affero General Public License v3.0
35 stars 38 forks source link

Make spidCode match the standard defined format. #267

Closed bfabio closed 4 years ago

bfabio commented 4 years ago

Fix #200.

bfabio commented 4 years ago

The standard doesn't explicitly state whether the attribute is case sensitive or not. I'm assuming it is.

Plus, should spidCode change across requests or is it supposed to be a static string that the IdP picks and never changes afterwards? Nevermind, I re-read that part in the standard and I realized it's basically a user id, so it's assigned to the user by the IdP and never changes.