<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
{font-family:"MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">1. Locale:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The definition of locale in the <a href="http://openid.net/specs/openid-connect-userinfo-1_0.html">
UserInfo spec</a> is currently:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">The user's locale, represented as an ISO 639-1 Alpha-2 [ISO639<span style="font-family:"MS Gothic"">‑</span>1] language code in lowercase and ISO 3166-1 Alpha-2 [ISO3166<span style="font-family:"MS Gothic"">‑</span>1]
Country Code in uppercase, separated by an underscore. For example, "en_US" or "fr_CA".<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This is based upon the Facebook usage. A better thing to do would probably be to use
<a href="http://tools.ietf.org/html/rfc5646">RFC 5646</a>, where these names would be “en-US” and “fr-CA”, and where scripts can also be represented when necessary. I’m prone to change to RFC 5646 and put a compatibility note in saying that some IdPs may use
underscores rather than dashes between the language and country parts.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2. Request parameter inconsistency between Framework and HTTP-Redirect specs:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The <a href="http://openid.net/specs/openid-connect-http-redirect-1_0.html">
HTTP-redirect spec</a> includes this portion of an example in 3.1.1.2:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> "ses":<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> "mxa": 86400,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> "eaa": 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> }<o:p></o:p></span></p>
<p class="MsoNormal">Whereas, the <a href="http://openid.net/specs/openid-connect-framework-1_0.html">
Framework spec</a> includes this portion of an example in 3.1.1:<o:p></o:p></p>
<pre> "idt":<o:p></o:p></pre>
<pre> {<o:p></o:p></pre>
<pre> "clm":<o:p></o:p></pre>
<pre> {<o:p></o:p></pre>
<pre> "aat": null<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> "mxa": 86400,<o:p></o:p></pre>
<pre> "eaa": 2<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<p class="MsoNormal">Which is right?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> -- Mike<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>