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

Can't Sign in with MS account #216

@nguyenvietvu

Description

@nguyenvietvu
  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions