keycloak-nodejs-connect icon indicating copy to clipboard operation
keycloak-nodejs-connect copied to clipboard

Adding an editable "access denied" page

Open aybarsyildiz opened this issue 3 years ago • 0 comments

Description

It would be a good idea to add a callback for the error page on the Keycloak middleware.

For example, the middleware setup could look like this and it will be possible to create your own 401 Unauthorized pages.

app.use(keycloak.middleware({
  logout: '/logout',
  admin: '/',
  error: '/error'
}));

Discussion

No response

Motivation

On our project with my team, we are using node.js and Keycloak.
For the unauthorized page, we had some issues editing it.

Details

No response

aybarsyildiz avatar Aug 15 '22 11:08 aybarsyildiz