question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Keycloak-Angular try to open /account after login / requesting a token

See original GitHub issue

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search for issues before submitting
- [ ] feature request

Versions.

Repro steps.

Just set up a new angular project (version 6) and follow the stepps mentioned to get keycloak-angular running. Followed the tutorial at https://www.npmjs.com/package/keycloak-angular

The log given by the failure.

My public client ist able to request a token, but also make a request to the keycloak path /account where i have no access to.

Cause of this my app does not start.

This behaviour is tested in Angular 5/6 with both versions of the keycloak angular-module.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
CodeSwimBikeRunnercommented, Oct 31, 2019

Did this make its way back into 5.1.0? I am using 5.1.0, and noticing the call to /account. I would prefer that be removed, because than any public client would need to be registered with the the account client.

2reactions
SimonLau2017commented, Jun 26, 2018

works pretty nice on the first look 😃

Thank you very much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Step-by-step guide how integrate Keycloak with Angular ...
First of all after successful login OAuth2.0 tokens were fetched from the Keycloak server and stored in your web browser. Now if there...
Read more >
Keycloak-angular: access /account fails with 403 error and ...
When I try to login via my Ionic-Angular Web-App (Chrome, Safari) the keycloak login form is displayed, if user isn't logged in yet....
Read more >
Securing Applications and Services Guide - Keycloak
After a successful login, the application will receive an identity token and an access token. The identity token contains information about ...
Read more >
A Quick Guide to Using Keycloak with Spring Boot - Baeldung
We can easily use this API to create our own login page. First, we need to acquire an access token from Keycloak by...
Read more >
JSON Web Token Tutorial using AngularJS & Laravel - Toptal
The authentication server generates a new JWT access token and returns it to the client. On every request to a restricted resource, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found