Skip to content

Error with Client->obtainAccessToken #112

@Labyala

Description

@Labyala

Hello,

i'm trying to run the code in the example but i've get a fatal error in redirect.php

PHP Fatal error: Uncaught Exception: The state's redirect URI must be set to call obtainAccessToken() in /xxxx/xxxx/xxxx/xxxx/vendor/krizalys/onedrive-php-sdk/src/Client.php:293 Stack trace: #0 /xxxx/xxxx/xxxx/xxxx/redirect.php(38): Krizalys\Onedrive\Client->obtainAccessToken('ULb8Q~YsGkHITQt...', 'M.C105_BL2.2.d0...') #1 {main} thrown in /xxxx/xxxx/xxxx/xxxx/vendor/krizalys/onedrive-php-sdk/src/Client.php on line 293

i don't understand what i'm doing wrong, can anyone help me ?
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions