-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication error: unauthorized_client #178
Comments
fyi, I'm using an organization account |
Make sure you copy just the URL, no quotes. You can share it and hide details if needed. |
Hi KTibow, Thank you for your reply! Thanks! |
I don't really know about different types of accounts. By exactly, I mean the bit where it gives you the URL that you open in your browser.
|
fei-fang, did you solve it? I have the same issue exactly. My code:
When I paste the 'auth_url' in the browser I get:
|
i have the same problem, did you find the solution? |
Make sure in Azure the redirect URI is correct. |
I wanna try running the following code:
_redirect_uri = 'http://localhost:8080/'
client_secret = '***'
client_id='700d805e-d442-4af0-a4b1-b17a1201bb5f'
api_base_url='https://api.onedrive.com/v1.0/'
scopes=['wl.signin', 'wl.offline_access', 'onedrive.readwrite']
http_provider = onedrivesdk.HttpProvider()
auth_provider = onedrivesdk.AuthProvider(
http_provider=http_provider,
client_id=client_id,
scopes=scopes)
client = onedrivesdk.OneDriveClient(api_base_url, auth_provider, http_provider)
auth_url = client.auth_provider.get_auth_url(redirect_uri)_
But when I click the auth_url to do authentication, the website shows as:
We're unable to complete your request:
unauthorized_client: The client does not exist or is not enabled for consumers. If you are the application developer, configure a new application through the App Registrations in the Azure Portal at https://go.microsoft.com/fwlink/?linkid=2083908.
My app details are shown below:
Does anyone have an idea why this will occur?
The text was updated successfully, but these errors were encountered: