Skip to content

Commit

Permalink
fix: script
Browse files Browse the repository at this point in the history
fixes in linnk idp script
  • Loading branch information
Jonathan Langlois committed Dec 7, 2021
1 parent 8f3dfe8 commit 2cdb5ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[
{
"name": "idir_guid",
"identityProviderAlias": "idir",
"identityProviderAlias": "azure-idir",
"identityProviderMapper": "oidc-user-attribute-idp-mapper",
"config": {
"claim": "idir_userid",
"user.attribute": "idir_user_guid"
"claim": "idir_guid",
"user.attribute": "idir_guid"
}
},
{
"name": "idir_userid",
"identityProviderAlias": "idir",
"identityProviderAlias": "azure-idir",
"identityProviderMapper": "oidc-user-attribute-idp-mapper",
"config": {
"claim": "idir_userid",
Expand Down
3 changes: 2 additions & 1 deletion scripts/keycloak-link-idp.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ async function main() {
),
);
} catch (err) {
console.error(err.response.data && err.response.data.error);
if (err.response.data && err.response.data.error) console.error(err.response.data && err.response.data.error);
else console.error(err);
}
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/meta/idp-realms.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
{ "alias": "bceid-business", "displayName": "Business BCeID", "realm": "_bceidbusiness" },
{ "alias": "bceid-basic-and-business", "displayName": "BCeID", "realm": "_bceidbasicbusiness" },
{ "alias": "github", "displayName": "GitHub", "realm": "_github" },
{ "alias": "_azureid", "displayName": "Azure AD IDIR", "realm": "_azureid" }
{ "alias": "azure-idir", "displayName": "Azure AD IDIR", "realm": "_azureidir" }
]

0 comments on commit 2cdb5ff

Please sign in to comment.