Open DanielHsieh0618 opened 2 years ago
Why? The name of the scheme is openIDConnect. https://github.com/nuxt-community/auth-module/blob/dev/src/schemes/openIDConnect.ts#L27
I have tried using openIDConnect, and it does not work. Then, I refer to the OAuth2 scheme, and it uses the 'social' as the parameter. Finally, I use the 'oidc' as the parameter of openIDConnect scheme, and it works perfectly. I think it is related to the auth strategies definitions.
The loginWith should match the auth strategies's oidc