JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Solicitud de ingreso
publicado originalmente en:BungieNetPlatform
1/22/2017 3:37:11 AM
2

Android OAuth Trouble

Hi everyone, I'm trying to use the new OAuth2 support for an Android app. I'm running into issues with the redirect URL field. I've read the help article here: https://www.bungie.net/7_Developers-Bungienet-Authentication/en/Help/Article/45481, which says, ". If you are creating a mobile app, the Redirect URL may use a scheme that uniquely identifies your application which will be launched by the platform." However, I haven't been able to save a redirect url that doesn't start with https I haven't ever written anything using OAuth before, so it's possible I'm missing something. Any help would be appreciated!

Publicando en idioma:

 

Pórtate bien. Echa un vistazo a nuestro Código de conducta antes de publicar tu mensaje. Cancelar Editar Crear escuadra Publicar

Ver el resto del tema
  • Editado por Callisto: 8/25/2017 4:31:05 PM
    This is due to Bungie.net using an incorrect URI validation regex for AnyUrl: [quote] }, n.validateAnyUrl = function(n) { var i = n.val(), r = !1, u; return i.length > 0 && (u = /^[a-z\-]+:\/?\/?([\w\-_\.]+)+([\w\-\.\(\)\!,@?^=%&:\/~\+#]*[\w\-\@?^\!=%&\/~\+#])?$/i, r = !u.test(i)), this.createValidationResult(r, n, t.anyurl) [/quote] As noted at https://github.com/Bungie-net/api/issues/5 Bungie, please alter ^[a-z\-]+: to ^[a-z\-.+]+: in the regex above. App authors, avoid using "." in your callback URI scheme if you need an urgent workaround.

    Publicando en idioma:

     

    Pórtate bien. Echa un vistazo a nuestro Código de conducta antes de publicar tu mensaje. Cancelar Editar Crear escuadra Publicar

No se te permite acceder a este contenido.
;
preload icon
preload icon
preload icon