Trying to add a custom OIDC provider: ```ThirdPart...
# support-questions-legacy
n
Trying to add a custom OIDC provider:
Copy code
ThirdParty.init({
      signInAndUpFeature: {
        // We have provided you with development keys which you can use for testing.
        // IMPORTANT: Please replace them with your own OAuth keys for production use.
        providers: [
          {
            config: {
              thirdPartyId: "line",
              name: "Line",
              clients: [
                {
                  clientType: "web",
                  clientId: "...",
                  clientSecret: "...",
                  scope: ["openid", "profile", "email"],
                },
              ],
              oidcDiscoveryEndpoint:
                "https://access.line.me/.well-known/openid-configuration",
              userInfoMap: {
                fromIdTokenPayload: {
                  userId: "id",
                  email: "email",
                  emailVerified: "email_verified",
                },
              },
            }
          },
        ],
      },
    }),
However when clicking the Login with Line button it errors and server returns
Error: Received response with status 404 and body
. It never even redirects to line to start the login. How can I debug this? Same information with Ory Kratos works.
12 Views