V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
westlinkin
V2EX  ›  编程

问一个关于新浪微博oauth 2.0 授权的问题

  •  
  •   westlinkin · Oct 13, 2012 · 3765 views
    This topic created in 4951 days ago, the information mentioned may be changed or developed.
    目前在移动客户端上,是不是只有使用webView来加载它的授权网页才行,但是这样的话整体的体验就很差劲啊,有没有什么解决方案
    8 replies    1970-01-01 08:00:00 +08:00
    laihj
        1
    laihj  
       Oct 14, 2012
    找新浪要xauth授权
    xauth授权意味着你有机会碰到用户的密码
    所以我觉得会很麻烦
    reinhard
        2
    reinhard  
       Oct 14, 2012
    @laihj xauth 是有限制要求的.
    reinhard
        3
    reinhard  
       Oct 14, 2012
    OAuth 授权页面只能webview加载啊,但是这个又不会跳转出去,问题在哪里呢?
    darktiny
        4
    darktiny  
       Oct 14, 2012
    现在只能用oauth2.0,只能用webview,捕获到后自己实现跳转,其他的认证方式暂时别想啦
    fen
        5
    fen  
       Oct 14, 2012
    新浪有SSO授权方式,利用新浪微博的客户端进行授权,这里有个针对“唱吧”所使用的授权方式,以及新浪微博负责人的回答 http://segmentfault.com/q/1010000000115484
    westlinkin
        6
    westlinkin  
    OP
       Oct 14, 2012
    @reinhard 在客户端上用native的方式来获取授权要比webview的方式好很多
    reinhard
        7
    reinhard  
       Oct 14, 2012
    @westlinkin 不解. Native是指什么?可实现吗?
    westlinkin
        8
    westlinkin  
    OP
       Oct 14, 2012
    @reinhard 原生应用,我不想用webView来加载授权页,据 @darktiny 所说,不行了吧。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2914 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 07:16 · PVG 15:16 · LAX 00:16 · JFK 03:16
    ♥ Do have faith in what you're doing.