style: cleanup oidc spaghetti
This commit is contained in:
parent
84855d9d51
commit
694b22f205
3 changed files with 70 additions and 56 deletions
|
|
@ -9,10 +9,5 @@ export async function loader({ request }: LoaderFunctionArgs) {
|
|||
throw new Error('An invalid OIDC configuration was provided')
|
||||
}
|
||||
|
||||
return finishOidc(
|
||||
context.oidc.issuer,
|
||||
context.oidc.client,
|
||||
context.oidc.secret,
|
||||
request,
|
||||
)
|
||||
return finishOidc(context.oidc, request)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue