Hi,
I just created a new project and scaffolded my Db but when I “npm start” and try to see my dashboard, it is unable to authenticate me.
I have the following logs:
POST /forest/authentication 400 67 - 144.622 ms
[forest] Unable to register the client
{
"configuration": {
"authorization_endpoint": "https://api.forestadmin.com/oidc/auth",
"device_authorization_endpoint": "https://api.forestadmin.com/oidc/device/auth",
"claims_parameter_supported": false,
"claims_supported": [
"sub",
"email",
"sid",
"auth_time",
"iss"
],
"code_challenge_methods_supported": [
"S256"
],
"end_session_endpoint": "https://api.forestadmin.com/oidc/session/end",
"grant_types_supported": [
"authorization_code",
"urn:ietf:params:oauth:grant-type:device_code"
],
"id_token_signing_alg_values_supported": [
"HS256",
"RS256"
],
"issuer": "https://api.forestadmin.com",
"jwks_uri": "https://api.forestadmin.com/oidc/jwks",
"registration_endpoint": "https://api.forestadmin.com/oidc/reg",
"response_modes_supported": [
"query"
],
"response_types_supported": [
"code",
"none"
],
"scopes_supported": [
"openid",
"email",
"profile"
],
"subject_types_supported": [
"public"
],
"token_endpoint_auth_methods_supported": [
"none"
],
"token_endpoint_auth_signing_alg_values_supported": [],
"token_endpoint": "https://api.forestadmin.com/oidc/token",
"request_object_signing_alg_values_supported": [
"HS256",
"RS256"
],
"request_parameter_supported": false,
"request_uri_parameter_supported": true,
"require_request_uri_registration": true,
"claim_types_supported": [
"normal"
]
},
"registration": {
"redirect_uris": [
"http://localhost:3310/forest/authentication/callback"
],
"token_endpoint_auth_method": "none"
},
"error": {
"error": "expected 201 Created with body but no body was returned"
}
}
I tried to set up a new AUTH token but it’s still the same.
Any idea?
Here are my packages versions:
"dependencies": {
"body-parser": "1.19.0",
"chalk": "~1.1.3",
"cookie-parser": "1.4.4",
"cors": "2.8.5",
"debug": "~4.0.1",
"dotenv": "~6.1.0",
"express": "~4.17.1",
"express-jwt": "6.0.0",
"forest-express-sequelize": "^7.0.0",
"morgan": "1.9.1",
"require-all": "^3.0.0",
"sequelize": "~5.15.1",
"pg": "~8.2.2"
}