Skip to content

Commit

Permalink
clean up import
Browse files Browse the repository at this point in the history
  • Loading branch information
velimd committed Aug 22, 2024
1 parent 41e7d4a commit 7ab21ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/app/idam/oAuthHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { buildURL } from 'utils/callbackBuilder'
import { Paths } from 'paths'
import { RoutablePath } from 'shared/router/routablePath'
import { User } from 'idam/user'
import { Base64 } from 'js-base64'

const clientId = config.get<string>('oauth.clientId')
const scope = config.get('idam.authentication-web.scope')
Expand All @@ -16,7 +17,6 @@ const idamWebUrl = config.get('idam.authentication-web.url')
const loginPath = `${idamWebUrl}/login`
const authorizePath = `${idamWebUrl}/o/authorize`
const logoutPath = `${idamWebUrl}/o/endSession`
import { Base64 } from 'js-base64'
export const redirectToClaimRegex = /^\/dashboard\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\/(claimant|defendant)$/

export class OAuthHelper {
Expand Down

0 comments on commit 7ab21ae

Please sign in to comment.