Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent FAYOLLE committed Nov 6, 2023
1 parent 67f0a62 commit c806d3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions app/server/lib/OIDCConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
*/

import * as express from 'express';
import {GristLoginSystem, GristServer} from './GristServer';
import { GristLoginSystem, GristServer } from './GristServer';
import { Client, generators, Issuer, UserinfoResponse } from 'openid-client';
import {Sessions} from './Sessions';
import { Sessions } from './Sessions';
import log from 'app/server/lib/log';
import {appSettings} from './AppSettings';
import {RequestWithLogin} from './Authorizer';
import { appSettings } from './AppSettings';
import { RequestWithLogin } from './Authorizer';

const CALLBACK_URL = '/oauth2/callback';

Expand Down Expand Up @@ -74,7 +74,7 @@ export class OIDCConfig {
client_id: clientId,
client_secret: clientSecret,
redirect_uris: [ this._redirectUrl ],
response_types: ['code'],
response_types: [ 'code' ],
});
}

Expand Down
2 changes: 1 addition & 1 deletion stubs/app/server/lib/logins.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getForwardAuthLoginSystem } from 'app/server/lib/ForwardAuthLogin';
import { GristLoginSystem } from 'app/server/lib/GristServer';
import { getMinimalLoginSystem } from 'app/server/lib/MinimalLogin';
import {getOIDCLoginSystem} from 'app/server/lib/OIDCConfig';
import { getOIDCLoginSystem } from 'app/server/lib/OIDCConfig';
import { getSamlLoginSystem } from 'app/server/lib/SamlConfig';

export async function getLoginSystem(): Promise<GristLoginSystem> {
Expand Down

0 comments on commit c806d3c

Please sign in to comment.