Skip to content

Commit

Permalink
Tidy OIDC
Browse files Browse the repository at this point in the history
  • Loading branch information
declanramsay committed Apr 22, 2022
1 parent bc19343 commit ba6d231
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 23 deletions.
10 changes: 0 additions & 10 deletions src/modules/redis.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,12 @@
import Redis from 'ioredis';

import getLogger from './logger';
// import config from '../config';

// const settings = new URL(config.redis.url);

// const port = settings.port || 6379;
// const host = settings.hostname || '127.0.0.1';

export default (key = '') => {
const logger = getLogger(`redis-${key}`);

const client = new Redis(process.env.REDIS_URL, { no_ready_check: true });

// if (settings.username && settings.password) {
// client.auth(settings.username, settings.password);
// }

client.on('error', (err) => {
logger.error(err.stack);
});
Expand Down
27 changes: 14 additions & 13 deletions src/views/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ body {

.container {
height: 100vh;
display: flex;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 0 auto;
margin: 0 auto;

}

.logo {
Expand Down Expand Up @@ -77,7 +77,7 @@ body {
border-radius: 0.25rem;
font-weight: 400;
cursor: pointer;
font-family: "adelle-sans",sans-serif;
font-family: "adelle-sans", sans-serif;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 1rem;
Expand Down Expand Up @@ -112,7 +112,7 @@ body {
border-radius: 0.25rem;
font-weight: 400;
cursor: pointer;
font-family: "adelle-sans",sans-serif;
font-family: "adelle-sans", sans-serif;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 1rem;
Expand Down Expand Up @@ -149,29 +149,30 @@ body {
}

.label {
background: white;
padding: 12px 16px;
border-radius: 8px;
margin-bottom: 8px;
color:rgb(14, 55, 95);
background: white;
padding: 12px 16px;
border-radius: 8px;
margin-bottom: 8px;
color: rgb(14, 55, 95);
}

.scope-list {
background: white;
border-radius: 8px;
list-style-type: decimal;
padding-bottom: 8px;
}

.claim-list {
margin-bottom: 8px;
margin-bottom: 8px;
}

.claim {
margin-bottom: 8px;
margin-bottom: 8px;
}

.flex-buttons {
display: flex;
justify-content: space-between;
align-items: center;
}
}

0 comments on commit ba6d231

Please sign in to comment.