Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Can't Sign in with MS account #216

Open
nguyenvietvu opened this issue Dec 5, 2020 · 2 comments
Open

Can't Sign in with MS account #216

nguyenvietvu opened this issue Dec 5, 2020 · 2 comments

Comments

@nguyenvietvu
Copy link

nguyenvietvu commented Dec 5, 2020

  1. When I create new App on https://portal.azure.com, I also configurate Redirect URL for IOS platform like this: 'msauth.com.abc.apps.xyz://auth'
  2. AppDelegate: ODClient.setMicrosoftAccountAppId("cc07b813-1749-4745-88cf-1e9e0fb183b3", scopes: ["onedrive.readwrite", "offline_access"])
  3. call:
    ODClient.client { (client, error) in
    guard error != nil else {
    return
    }
    }
  4. Error when open MS sign in view controller:
    "invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application. onedrive sdk"
  5. more infor: when i try with AppID(ClientID: '0000000048160AF8' or another my old app: ) from the sample: https://github.com/OneDrive/onedrive-sdk-ios/tree/master/Examples/iOSExplorer -> no problem
@jadfls
Copy link

jadfls commented Jan 9, 2021

@nguyenvietvu did you solve this issue?

@yutakaA
Copy link

yutakaA commented Nov 16, 2021

+1
We have the same issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants