update config and to new API of php-oauth-lib-rs