The documentation pointed us to this code sample: https://github.com/blackbaud/sky-api-tutorial-auth-code-php
On line 38 of session.php it references Auth::logout();
https://github.com/blackbaud/sky-api-tutorial-auth-code-php/blob/master/includes/blackbaud/session.php#L38
which does not seem to exist in the class:
https://github.com/blackbaud/sky-api-tutorial-auth-code-php/blob/master/includes/blackbaud/auth.php
We haven’t gone too deep because we wanted to make sure the docs were right, are they?
FOUND THE ANSWER
That Auth::logout(); is incorrect and has been reported to Blackbaud.
The demo code still works if you delete that line.
@Rosita Bradham Thank you for pointing this out. The PHP code sample has been updated. Sorry for any inconvenience.