Skip to content

Commit

Permalink
example: cleanup oidc configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Nov 30, 2022
1 parent 4cc35bd commit 515b509
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions certification/oidc/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ const tokenEndpointAuthMethods = [
];

module.exports = {
clients: [
{
client_id: 'dpop-heroku',
token_endpoint_auth_method: 'none',
scope: 'openid offline_access',
grant_types: ['authorization_code', 'refresh_token'],
response_types: ['code'],
redirect_uris: ['https://murmuring-journey-60982.herokuapp.com/cb'],
},
],
interactions: {
url(ctx, interaction) {
return `/interaction/${interaction.uid}`;
Expand All @@ -55,13 +45,6 @@ module.exports = {
profile: ['birthdate', 'family_name', 'gender', 'given_name', 'locale', 'middle_name', 'name',
'nickname', 'picture', 'preferred_username', 'profile', 'updated_at', 'website', 'zoneinfo'],
},
clientBasedCORS(ctx, origin, client) {
if (client.clientId === 'dpop-heroku' && origin === 'https://murmuring-journey-60982.herokuapp.com') {
return true;
}

return false;
},
features: {
backchannelLogout: { enabled: true },
devInteractions: { enabled: false },
Expand Down

0 comments on commit 515b509

Please sign in to comment.