You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
-10
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,7 @@
1
1
# Changelog
2
2
3
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
***logout:** postLogoutRedirectUri should not default to redirectUri ([ff7d1d9](https://github.com/manfredsteyer/angular-oauth2-oidc/commit/ff7d1d915aa19f87bcb1c2d18ac3eb280db78d3b))
12
-
* provide standalone api ([e38c99c](https://github.com/manfredsteyer/angular-oauth2-oidc/commit/e38c99c5f70f23fad892328e2a6f01f1e813af4c))
13
-
* support JWT response on userinfo endpoint ([da16494](https://github.com/manfredsteyer/angular-oauth2-oidc/commit/da1649499376863b0ebf884748176f3b38d91899))
14
-
* update for angular 13 ([d95d7da](https://github.com/manfredsteyer/angular-oauth2-oidc/commit/d95d7da788e2c1390346c66de62dc31f10d2b852))
15
5
* update project to Angular 16 ([b999024](https://github.com/manfredsteyer/angular-oauth2-oidc/commit/b999024b1bb7fdb40f07810a75add60f47fe5f08))
<p>You can hook in an implementation of the interface <code>TokenValidator</code> to validate the signature of the received id_token and its at_hash property. This packages provides two implementations:</p>
this.oauthService.tokenValidationHandler = new JwksValidationHandler();</code></pre></div><p>In cases where no ValidationHandler is defined, you receive a warning on the console. This means that the library wants you to explicitly decide on this.</p>
<h1id="support-for-auth-servers">Support for Auth Servers</h1>
51
+
52
+
53
+
54
+
<h1>Support for Auth Servers</h1>
53
55
<p>As this lib follows the OAuth2 and OpenId Connect specs, it should work with all compliant authorizations servers.</p>
54
56
<p>However, experience shows that some authorizations servers come with some special behavior or settings. Hence, we must respect this when using this lib.</p>
<p>To use this lib with Auth0, open your Auth0 account and configure:</p>
54
56
<ul>
55
57
<li>An app </li>
56
58
<li>An API</li>
57
59
</ul>
58
60
<p>Configure the app to use <code>refresh token rotation</code> and the grant types <code>authorization code</code> and <code>refresh token</code>. For grant types, see the advanced settings at the end of the settings page.</p>
59
-
<h2id="configuration">Configuration</h2>
61
+
<h2>Configuration</h2>
60
62
<p>Provide a configuration like this:</p>
61
63
<div><preclass="line-numbers"><codeclass="language-typescript">import { AuthConfig } from 'angular-oauth2-oidc';
}, true);</code></pre></div><p>The optional 2nd parameter set to <code>true</code> ignores CORS issues with the logout endpoint.</p>
89
-
<h2id="example">Example</h2>
91
+
<h2>Example</h2>
90
92
<p>Please find a <ahref="https://github.com/manfredsteyer/auth0-demo">demo</a> for using Auth0 with angular-oauth2-oidc <ahref="https://github.com/manfredsteyer/auth0-demo">here</a>.</p>
<h1id="using-with-azure-ad">Using with Azure AD</h1>
51
+
52
+
53
+
54
+
<h1>Using with Azure AD</h1>
53
55
<p>For using this library with <strong>Azure Active Directory</strong> (<strong>Azure AD</strong>), we recommend an additional look to this <ahref="https://dev.to/yuriburger/azure-active-directory-b2c-with-pkce-for-your-angular-app-1dcg">blog post</a> and the example linked at the end of this blog post.</p>
0 commit comments