New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

keycloak-angular

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keycloak-angular - npm Package Compare versions

Comparing version 11.0.0 to 12.0.0

3

lib/core/services/keycloak.service.d.ts
import { HttpHeaders, HttpRequest } from '@angular/common/http';
import { Subject } from 'rxjs';
import Keycloak from 'keycloak-js';
import { ExcludedUrlRegex, KeycloakOptions } from '../interfaces/keycloak-options';

@@ -32,3 +31,3 @@ import { KeycloakEvent } from '../interfaces/keycloak-event';

updateToken(minValidity?: number): Promise<boolean>;
loadUserProfile(forceReload?: boolean): Promise<Keycloak.KeycloakProfile>;
loadUserProfile(forceReload?: boolean): Promise<import("keycloak-js").KeycloakProfile>;
getToken(): Promise<string>;

@@ -35,0 +34,0 @@ getUsername(): string;

{
"name": "keycloak-angular",
"version": "11.0.0",
"version": "12.0.0",
"description": "Easy Keycloak setup for Angular applications",

@@ -32,3 +32,3 @@ "repository": {

"@angular/router": "^14",
"keycloak-js": "^10 || ^11 || ^12 || ^13 || ^14 || ^15 || ^16 || ^17"
"keycloak-js": "^18"
},

@@ -35,0 +35,0 @@ "dependencies": {

@@ -63,3 +63,3 @@ # Keycloak Angular

_Note_: In keycloak-angular **v.9**, it is needed to add `allowSyntheticDefaultImports: true` in the tsconfig.json file in your project. There is an [issue in the keycloak project](https://github.com/keycloak/keycloak/issues/9045) to update the typescript definitions file and solve the problem.
_Note_: Only for keycloak-angular **v.9**, there is the need to add `allowSyntheticDefaultImports: true` in the tsconfig.json file in your project. This is related to this [issue in the keycloak project](https://github.com/keycloak/keycloak/issues/9045). From keycloak-angular v.10 on, there is no need to set this configuration.

@@ -89,3 +89,3 @@ #### Choosing the right keycloak-js version

config: {
url: 'http://localhost:8080/auth',
url: 'http://localhost:8080',
realm: 'your-realm',

@@ -180,3 +180,3 @@ clientId: 'your-client-id'

// Allow the user to to proceed if no additional roles are required to access the route.
// Allow the user to proceed if no additional roles are required to access the route.
if (!(requiredRoles instanceof Array) || requiredRoles.length === 0) {

@@ -229,3 +229,3 @@ return true;

config: {
url: 'http://localhost:8080/auth',
url: 'http://localhost:8080',
realm: 'your-realm',

@@ -267,4 +267,4 @@ clientId: 'your-client-id'

<!-- prettier-ignore -->
|[<img src="https://avatars3.githubusercontent.com/u/676270?v=4" width="89px;"/><br /><sub><b>Mauricio Gemelli Vigolo</b></sub>](https://github.com/mauriciovigolo)<br />|[<img src="https://avatars1.githubusercontent.com/u/695720?s=400&v=4" width="89px;"/><br /><sub><b>Jon Koops</b></sub>](https://github.com/https://github.com/jonkoops)<br />|[<img src="https://avatars0.githubusercontent.com/u/2146903?v=4" width="89px;"/><br /><sub><b>Frederik Prijck</b></sub>](https://github.com/frederikprijck)<br /> | [<img src="https://avatars2.githubusercontent.com/u/161351?s=460&v=4" width="89px;"/><br /><sub><b>Jonathan Share</b></sub>](https://github.com/sharebear)<br /> | [<img src="https://avatars1.githubusercontent.com/u/980278?v=4" width="89px;"/><br /><sub><b>jmparra</b></sub>](https://github.com/jmparra)<br /> | [<img src="https://avatars2.githubusercontent.com/u/6547340?v=4" width="89px;"/><br /><sub><b>Marcel Német</b></sub>](https://github.com/marcelnem)<br /> | [<img src="https://avatars3.githubusercontent.com/u/14264577?v=4" width="89px;"/><br /><sub><b>Raphael Alex Silva Abreu</b></sub>](https://github.com/aelkz)<br /> |
| :---: | :---: | :---: | :---: | :---: | :---: |:---: |
|[<img src="https://avatars3.githubusercontent.com/u/676270?v=4" width="89px;"/><br /><sub><b>Mauricio Vigolo</b></sub>](https://github.com/mauriciovigolo)<br />|[<img src="https://avatars1.githubusercontent.com/u/695720?s=400&v=4" width="89px;"/><br /><sub><b>Jon Koops</b></sub>](https://github.com/https://github.com/jonkoops)<br />|
| :---: | :---: |

@@ -271,0 +271,0 @@ <!-- ALL-CONTRIBUTORS-LIST:END -->

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc