We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d490815 commit d8fafdfCopy full SHA for d8fafdf
src/app/api/auth/[...nextauth]/provider.ts
@@ -10,7 +10,7 @@ const NHSLoginAuthProvider = async (): Promise<OIDCConfig<Profile>> => {
10
id: NHS_LOGIN_PROVIDER_ID,
11
name: "NHS Login Auth Provider",
12
type: "oidc",
13
- issuer: `${await config.NHS_LOGIN_URL}`,
+ issuer: (await config.NHS_LOGIN_URL).href,
14
clientId: await config.NHS_LOGIN_CLIENT_ID,
15
wellKnown: `${await config.NHS_LOGIN_URL}/.well-known/openid-configuration`,
16
authorization: {
0 commit comments