Skip to content

Commit 4797f57

Browse files
authored
Merge pull request #2152 from damienbod/release/21_0_0
21.0.0
2 parents edca422 + d6946be commit 4797f57

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Angular Lib for OpenID Connect/OAuth2 Changelog
22

3+
### 2025-11-02 21.0.0
4+
5+
- Angular 21
6+
37
### 2025-11-02 20.0.3
48

59
- Fix: prevent clear() from destroying all sessionStorage

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -122,24 +122,19 @@ export class AppComponent implements OnInit {
122122
private readonly oidcSecurityService = inject(OidcSecurityService);
123123

124124
ngOnInit() {
125-
this.oidcSecurityService
126-
.checkAuth()
127-
.subscribe((loginResponse: LoginResponse) => {
128-
const { isAuthenticated, userData, accessToken, idToken, configId } =
129-
loginResponse;
130-
131-
/*...*/
132-
});
125+
this.oidcSecurityService.checkAuth().subscribe((loginResponse: LoginResponse) => {
126+
const { isAuthenticated, userData, accessToken, idToken, configId } = loginResponse;
127+
128+
/*...*/
129+
});
133130
}
134131

135132
login() {
136133
this.oidcSecurityService.authorize();
137134
}
138135

139136
logout() {
140-
this.oidcSecurityService
141-
.logoff()
142-
.subscribe((result) => console.log(result));
137+
this.oidcSecurityService.logoff().subscribe((result) => console.log(result));
143138
}
144139
}
145140
```
@@ -185,8 +180,9 @@ AuthModule.forRoot({
185180

186181
## Versions
187182

188-
Current Version is Version 20.x
183+
Current Version is Version 21.x
189184

185+
- [Info about Version 20](https://github.com/damienbod/angular-auth-oidc-client/tree/version-20)
190186
- [Info about Version 19](https://github.com/damienbod/angular-auth-oidc-client/tree/version-19)
191187
- [Info about Version 18](https://github.com/damienbod/angular-auth-oidc-client/tree/version-18)
192188
- [Info about Version 17](https://github.com/damienbod/angular-auth-oidc-client/tree/version-17)

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"bugs": {
99
"url": "https://github.com/damienbod/angular-auth-oidc-client/issues"
1010
},
11-
"version": "20.0.3",
11+
"version": "21.0.0",
1212
"scripts": {
1313
"ng": "ng",
1414
"build": "npm run build-lib",

projects/angular-auth-oidc-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"authorization"
3737
],
3838
"license": "MIT",
39-
"version": "20.0.3",
39+
"version": "21.0.0",
4040
"description": "Angular Lib for OpenID Connect & OAuth2",
4141
"schematics": "./schematics/collection.json",
4242
"ng-add": {

projects/schematics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "schematics",
3-
"version": "20.0.3",
3+
"version": "21.0.0",
44
"description": "A schematic for the Angular Lib for OpenID Connect & OAuth2",
55
"scripts": {
66
"build": "tsc -p tsconfig.json",

projects/schematics/src/ng-add/actions/add-dependencies.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { NgAddOptions } from '../models/ng-add-options';
55
const dependenciesToAdd: any[] = [
66
{
77
name: 'angular-auth-oidc-client',
8-
version: '20.0.3',
8+
version: '21.0.0',
99
},
1010
];
1111

0 commit comments

Comments
 (0)