Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The token is not added to requests. keycloak-angular 19.0.2 #603

Open
Rezorl opened this issue Dec 30, 2024 · 2 comments
Open

The token is not added to requests. keycloak-angular 19.0.2 #603

Rezorl opened this issue Dec 30, 2024 · 2 comments
Assignees
Labels
need-investigation Needs more investigation to identify if it is a bug.

Comments

@Rezorl
Copy link

Rezorl commented Dec 30, 2024

Bug Report or Feature Request (mark with an x)

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

Versions.

    "@angular/core": "19.0.3",
    "keycloak-angular": "19.0.2",
    "keycloak-js": "25.0.5",

Repro steps.

The log given by the failure.

Desired functionality.

hello, I found a new problem:

includeBearerTokenInterceptor -> keycloak.authenticated is false

image

Auth guard has authenticated=true
image

@Rezorl
Copy link
Author

Rezorl commented Dec 30, 2024

the problem is when the service that hits the http server is injected into provideAppInitializer(() => {})

@mauriciovigolo mauriciovigolo self-assigned this Jan 2, 2025
@mauriciovigolo mauriciovigolo added the need-investigation Needs more investigation to identify if it is a bug. label Jan 2, 2025
@relivvius
Copy link

I have the same issue mentioned here #610

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-investigation Needs more investigation to identify if it is a bug.
Projects
None yet
Development

No branches or pull requests

3 participants