groton-school / sky-api

PHP client for Blackbaud's SKY API
https://groton-school.github.io/sky-api/
GNU General Public License v3.0
1 stars 0 forks source link

wipe existing token? #4

Closed github-actions[bot] closed 8 months ago

github-actions[bot] commented 8 months ago

https://github.com/groton-school/sky-api/blob/a4cd4523ae68ffdbb23c0ee615dbf42587ae88bf/src/SKY.php#L77


                if (false === isset($_GET[self::CODE])) {
                    $authorizationUrl = self::api()->getAuthorizationUrl();
                    $_SESSION[self::OAuth2_STATE] = self::api()->getState();
                    // TODO wipe existing token?
                    $this->cache->set(self::Request_URI, $_SERVER["REQUEST_URI"] ?? null);
                    header("Location: $authorizationUrl");
                    exit();
github-actions[bot] commented 8 months ago

Closed in 5a768214a2baef9cb3c676415e6ca71fc231e656