Skip to content

Commit

Permalink
Update for updated DLRG API
Browse files Browse the repository at this point in the history
  • Loading branch information
tjarksaul committed Dec 20, 2021
1 parent 8bc2d5b commit e585411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Provider/Dlrg.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Dlrg extends AbstractProvider {
/**
* @const string
*/
const BASE_DLRG_URL = 'https://dlrg.net/oauth2';
const BASE_DLRG_URL = 'https://iam.dlrg.net/auth/realms/master/protocol/openid-connect/';

const ACCESS_TOKEN_RESOURCE_OWNER_ID = 'sub';

Expand All @@ -28,7 +28,7 @@ public function __construct($options = [], array $collaborators = []) {
}

public function getBaseAuthorizationUrl() {
return static::BASE_DLRG_URL . '/authorize';
return static::BASE_DLRG_URL . '/auth';
}

public function getBaseAccessTokenUrl(array $params) {
Expand Down

0 comments on commit e585411

Please sign in to comment.