Open Tahir-Imran opened 8 months ago
Hi Which page do you try to access?
As a reminder, in the application, we have 2 main pages restricted by user role. the User Secure page is accessible for every user that signed in. But the Admin Secure page is only available for users that have the admin role.
Thank you for the demo code.
Following changes I have done to keycloak.json
{ "realm": "singlepoint-ai", "auth-server-url": "http://164.52.197.148:9910", "ssl-required": "external", "resource": "singlepoint-ai-client", // client_id "public-client": true, "confidential-port": 0
}
it shows the login page , but after I enter credentials, I see the below error in the browser.
Failed to load resource: the server responded with a status of 401 (Unauthorized)
Please help me out