OpenID Mobile Profile
ãã£ã¨ specs ã®ã¡ã¼ãªã³ã°ãªã¹ãã§ãã¢ãã¤ã«ç¨ã® OpenID ã«é¢ãã¦è°è«ãéå§ã«ãªã£ãã®ã§ãã¡ã¢ãã¦ããã¾ãã
http://www.nabble.com/OpenID-Mobile-Profile--td21739618.html
ãããã¹ã¬ä¸è¦§ã
ããã§è¨ããã¦ãã®ã¯ã
- URL ã®é·ã
- User Experience
ã®åé¡ãããã¨ããã¨ã¯æ¥æ¬ã®æºå¸¯äºæ ãç¹ã«ç«¯æ«ID絡ã¿ã®èª¬æã¨ãã
æ¥æ¬ã®æºå¸¯ãµã¤ãã®ãããã¡ãªã·ããªãªã«ã¤ãã¦ãããã¨ã
- First of all, the user needs to input an OpenID URI
- Due to the URL length restriction, RP will have to use POST, which means she will have to wait for the HTML form to be downloaded, then click on a button to submit it.
- She'll have to authenticate at the OP site, which we assume is no-op for the user assuming the OP uses the subscriber/device ID provided by the carrier.
- Upon successful authentication, the OP needs to again present at least a submit button to POST the results back to the RP.
URL ã®é·ãåé¡ãç¾ç¶ã®ä»æ§ã«éåããã«ãã£ãå ´åã®ã·ããªãªãRP initiated ãªå ´åã¯ãPOST ããããã«ãã©ã¼ã çæãã¦ãæ»ã£ã¦ããéã«ã POST ã®çºã«ãã©ã¼ã ã® submit ããã¨ã
artifact 使ãã£ã¦è©±ããªã
The current OpenID protocol doesn't require the RP to accept connections from the OP, which means that an RP could well be behind the firewall. It's a nice property to have. Using artifact binding for step 6 is fine, but doesn't step 4 require the OP to connect to the RP? I'm thinking something like a reverse artifact resolution:
OP to RP 㪠Direct Communication 㯠Firewall ä¸ã« RP ãããå ´å*1ã«ã¯é常ã«ä¸æãããããããã ãã©ããartifact binding ããå ´åã«ã¯å¿
è¦ã«ãªãããã¨ã
åããã®è¾ºãã¯ãããç¡ãã¨å³ãããªã¼ã¨æãã
åæ£èªè¨¼ã¨ãã¦é£ããããããªãã®ï¼ã£ã¦åè«ããã¨ã¯ OP ã«ããããã RP ãç»é²ãã¦äºã ã¨ãã
Sounds interesting, but I don't understand what you mean by a standard request format. Could you elaborate? Thanks.åæï½ ç¢ºãã«ãã£ã¨ããæ¹æ³ã£ã¦è¨ã£ã¦ãããèå³ã¯ãããã©ä¸èº«ãåãããªãã ãã®åçã ã¨ããããä»æ§ã«éåãããã©ãå¯è½ãªéããã©ã¡ã¼ã¿ãå°ãªããã¦ãã¾ãããã«å¿ è¦ãªãã©ã¡ã¼ã¿ãããããã OP ã«ç»é²ãã¦ããã°ããããããªãã®ã£ã¦è©±ããªã ãããããç»é²ã妥å½ãã©ããã¯åãããªããã©ãåã¯ãã®ç¹ã¯ RP Discovery ã§ããã°ããããããªããã¨æãã ãã® Discovery ã§ãæ¬æ¥ã®ä»æ§ã§æ示ããã¹ããã©ã¡ã¼ã¿ããããæ¬æ¥ããããäºã«é¢ãã¦ã¯åé·ãªãã©ã¡ã¼ã¿ãæ¼ãè¾¼ãã¦ãã¾ãã° Indirect Communication ã§å®éã«ä½¿ããã©ã¡ã¼ã¿ãæ¸ããäºãåºæ¥ãã =nat ãããåã spec ml ã«æ稿åºæ¥ãªã*2ããç´¹ä»ãã¦ãããã 㧠=nat ããã®æ¡ã¯åã®èãã¦ãäºã¨ã»ã¼åãã ãªãã
以ä¸ããªã¬ãªã¬æ訳ã
- RP constract a request string as usual (including ones for the various extensions -- means it could be fairly long.)
- RP posts this to the OP's artifact mode endpoint published in OP's XRD.
- OP issues a nonce as an "artifact" or "ticket".
- RP redirects the browser with this artifact.
- OP, receiving this artifact, reconstructs the OpenID message from the post received in step 2 above.
- Credentail presentation etc. happens as usual, and OP verifies the user's identity.
- OP creates a positive response and stores it with the artifact as the key.
- OP redirects the browser with the artifact to the RP.
- RP fetches the response created in 7. and examines it to authorize the access.
- RP ã¯ä»ã®æ¡å¼µç¨ãå«ãã¦æ®éã«ãªã¯ã¨ã¹ãç¨ã®ãã¼ã¿ãä½ãã¨
- RP 㯠OP ã® XRD ãã artifact mode ç¨ã® endpoint ãè¦ã¤ãã¦ããã® endpoint ã«ãªã¯ã¨ã¹ããã¼ã¿ã POST ãã
- OP 㯠"artifact" ãªã "ticket" ã¨è¨ã£ãä¸æ㪠nonce ãçºè¡
- RP 㯠"artifact" ã¨å ±ã« UA ã OP ã«ãªãã¤ã¬ã¯ãããã
- OP 㯠"artifact" ãåä¿¡ãããåãå¤ãæã¤äºåã« RP ã POST ãããã¼ã¿ãå ã«ãªã¯ã¨ã¹ããåæ§ç¯ããã¨
- OP ã¯ã¦ã¼ã¶ã¼ã® identity ãæ¤è¨¼ãã
- OP ã¯ã¬ã¹ãã³ã¹ãæ§ç¯ãã¦ãã©ã£ãã«ä¿åãã¨ãã(key ã¯å½ç¶ artifact)
- OP 㯠artifact ã¨å ±ã« UA ã RP ã«ãªãã¤ã¬ã¯ããããã¨
- RP 㯠artifact mode endpoint ã«å¯¾ãã¦ã¬ã¹ãã³ã¹ãåå¾ããã¨
ã¾ã¨ã
éãªã¡ã¢ã§ç³ã訳ãªããã©ã=nat ããã®æ¡ãã¼ã¹ãä¸çªè¯ããããªæ触ãåããã®ä»¶ã«é¢ãã¦ã¯ä»æ§çå®ã«ç©æ¥µçã«çµ¡ãã§ããæåã§ããã¾ãã§ãã追è¨1 (2009-02-01T21:34:45+09:00)
Mobile OpenIDï¼=natããæ¡ã·ã¼ã±ã³ã¹ã¯2ã§ãããªãç¬èªã®Direct communicationãå§ã¾ã£ã¦ããã©ããããªãã¨URLé·ã®åé¡ã¯ã¯ãªã¢ã§ãã¾ãããã¨ãããã¨ã§ãããç¾å®çãURL é·ã®åé¡ã¯ POST ãã¼ã¹ã«ããã°è§£æ±ºåºæ¥ãã®ã§ããã®æ¡ãããªãã¦ãä¸å¿è¡ããã¯ããã§ã GET ãã¼ã¹ã§ãããã¨æã£ãå ´åã«ã¯ããããããæ¹ãä¸çªã¹ãã¼ãã ããã¨ã ã¾ãããããäºã§ãã