question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Authorization fails with error message "Errir: Error not specified"

See original GitHub issue

Issue

When calling authorize, it raises an exception which, when printed to the console, only shows: Error: Error not specified.

Any idea what might cause this? I wonder if this error is even raised from this library, since I could not find “not specified” error message in the code. It feels like the system fails to open the Android web view component or something?

EDIT: It seems that this error can happen if the user does not have Android web view or any web browsers installed. However, the user who is having this issue, has Chrome installed and web view enabled. Also, web view works in other applications.


Environment

  • Your Identity Provider: oAuth
  • Platform that you’re experiencing the issue on: Android 6

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
ball-haydencommented, Apr 29, 2021

See https://github.com/openid/AppAuth-Android/issues/648, specifically https://github.com/openid/AppAuth-Android/issues/648

We needed to add to our app android manifest:

<manifest>
...
    <queries>
        <intent>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="https" />
        </intent>
    </queries>
</manifest>
0reactions
rkostrabcommented, Sep 12, 2022

I also tried the solution mentioned by @ball-hayden, but calling ‘autorize’ returns exc Error not specified.

Device: Blackview BV4900Pro Android 10

Read more comments on GitHub >

github_iconTop Results From Across the Web

Authorization failed, Not granted any of the required roles - IBM
This error indicates that security is enabled on the server and that the required roles have not been defined for the application. Indeed,...
Read more >
How To Fix Apache Kafka Error “TopicAuthorizationException”
The TopicAuthorizationException error is usually caused by a missing Broker. In other words, if a single or more brokers fail to start on...
Read more >
Authorization Failed error for Azure Client - Microsoft Q&A
While performing any read/write operation for this client I am getting error as 'com.microsoft.azure.CloudException: Status code 403, {"error":{ ...
Read more >
Authorization Error - Oracle Help Center
invalid_client: The authentication of the client fails. This can happen if authentication parameters are missing (for example, the client identifier and secret) ...
Read more >
Encoded authorization failure with RunInstances in Amazon ...
The "UnauthorizedOperation" error indicates that permissions attached to the AWS Identity and Access Management (IAM) role or user trying to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found