Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

240
Visualizações
How to I log in to a confidential keycloak server from Angular 13?

So I have this Angular project, working in production for some time that connects to a keycloak confidential server.

Now I updated the libs, only to find keycloak-js doesn't allow sending the secret to the server anymore and got a 401 error "client now allowed".

Reading the docs I saw that sending the secret from the client was removed in version 8 because "SPAs shouldn't keep the secret in them" and I go like: now what ? will I have to stay with a deprecated library forever ? Do I have to rewrite the whole system that took me 2 years developing in other language/structure ?

I'm pretty confident my company won't turn the keycloak client to public mode in the server due to insecurity. And anyway what's the point of having an authentication if the server isn't secure.

So my question is: how do I access a confidential keycloak server from an Angular 13 project that has a Node backend ? What is the correct way ?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda