Hi there,
I am trying to customize plugin: https://github.com/julianlam/nodebb-plugin-sso-oauth
I have made my own:
https://github.com/MaxWaldorf/nodebb-plugin-sso-keycloak
I know the sso works since I am testing it with other systems like wordpress, etc...
But even though I enter the right info in config file, I don't succeed to anything so far...
Here is my code in config file:
"oauth": {
"id": "my_id",
"secret": "my_key",
"type": "oauth",
"name": "nodebb",
"scope": "email profile openid",
"auth2": "https://<SSO_domain>/auth/realms/Public/protocol/openid-connect/auth",
"token2": "https://<SSO_domain>/auth/realms/Public/protocol/openid-connect/token",
"user": "https://<SSO_domain>/auth/realms/Public/protocol/openid-connect/userinfo"
}
The login page shows and I am able to enter my credentials but... After that, I receive an error:
Internal Error.
/auth/nodebb/callback
undefined
Am I missing something?
I feel I don't understand correctly the scope part...
If anyone has an idea, it would be greatly appreciated...
Cheers