FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. cgonzalez
    3. Posts
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by cgonzalez

    • Problem between oauth2/authorize code and oauth2/token in android

      I have a weird problem in ionic app, in iOS is working without problem but in android the code is wrong.

      The only difference I notice is the locale in the two responses:

      iOS:
      https://[url]?code=[code]&locale=es_419&userState=Authenticated
      This code is working.

      Android
      https://[url]?code=[code]&locale=en_US&userState=Authenticated
      This code is not working

      I pass this code to oauth2/token in the same way, but in Android es responding:

      {"error":"invalid_request","error_description":"Invalid Authorization Code","error_reason":"auth_code_not_found"}
      

      I try to add locale in oauth2/authorize but the response is the same.

      posted in Q&A
      C
      cgonzalez