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
> The `is_legacy_endpoint` configuration property should be TRUE for older Keycloak versions (under 18)
36
37
37
-
### Validating access tokens
38
-
#### Online validation:
39
-
This method requires online connection to the Keycloak service to validate the access token. It is highly secure since it also check for the possible token invalidation. The disadvantage is that a request to the Keycloak service happens on every validation attempt.
38
+
### Generating access tokens
40
39
```js
41
-
let token =awaitkeycloak.jwt.verify(someAccessToken);
This method perform offline JWT verification against the access token using the Keycloak Realm public key. Performance is higher compared to the online method, the disadvantage is that access token invalidation will not work until the token is expired.
> For this feature, the authentication details described in the configuration options are used.
71
-
72
-
### Retrieve users information by id
73
-
Sometimes backend services only have a target user identifier to digg for details, in such cases, you can contact the Keycloak service by:
74
50
75
-
#### Retrieve user details by id
51
+
### Validating access tokens
52
+
#### Online validation
53
+
This method requires online connection to the Keycloak service to validate the access token. It is highly secure since it also check for possible token invalidation. The disadvantage is that a request to the Keycloak service happens on every validation:
This method perform offline JWT verification against the access token using the Keycloak Realm public key. Performance is higher compared to the online method, as a disadvantage no access token invalidation on Keycloak server is checked:
0 commit comments