Skip to content

Instantly share code, notes, and snippets.

View Robinyo's full-sized avatar

Rob Ferguson Robinyo

View GitHub Profile
@Robinyo
Robinyo / AuthNController.java
Created January 9, 2022 20:37
Private Key JWT Client Authentication
package au.gov.dta.rp.controller;
import au.gov.dta.rp.model.TokenResponse;
import au.gov.dta.rp.service.AuthNService;
import com.nimbusds.jwt.JWT;
import com.nimbusds.jwt.JWTClaimsSet;
import com.nimbusds.jwt.JWTParser;
import com.nimbusds.jwt.SignedJWT;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
@vades
vades / angular-expression-changed.md
Last active September 10, 2025 00:21
Fixing "Expression has changed after it was checked" in Angular

Fixing "Expression has changed after it was checked" in Angular

The exception appears (in the development mode) at the moment the value is checked and value is different of the updated value.

Error message example

AppComponent.html:1 ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'ngIf: true'. Current value: 'ngIf: false'.
    at viewDebugError (core.js:20440)
    at expressionChangedAfterItHasBeenCheckedError (core.js:20428)
    at checkBindingNoChanges (core.js:20530)