The login and signup was working 3days ago, I haven’t change anything yet. Now Whenever I log in I’m getting an error access_denied.
Rails.application.config.middleware.use OmniAuth::Builder do
provider(
:auth0,
ENV["AUTH0_EXTERNAL_RWA_CLIENT_ID"],
ENV["AUTH0_EXTERNAL_RWA_CLIENT_SECRET"],
ENV["AUTH0_EXTERNAL_DOMAIN"],
callback_path: '/auth/auth0/callback',
authorize_params: {
scope: 'openid profile email',
connection: ENV["AUTH0_EXTERNAL_DATABASE_CONNECTION"]
}
)
end
{
“error”: “access_denied”,
“error_description”: “Error Requesting User Profile!”
}