<div dir="ltr">Hello,<div><br></div><div>I guess you could do that with the token-introspection endpoint:</div><div><a href="https://issues.jboss.org/browse/KEYCLOAK-2266">https://issues.jboss.org/browse/KEYCLOAK-2266</a><br></div><div><br></div><div><a href="http://localhostt:8080/auth/realms/master/.well-known/openid-configuration">http://localhostt:8080/auth/realms/master/.well-known/openid-configuration</a><br></div><div>-&gt; <a href="http://localhost:8080/auth/realms/master/protocol/openid-connect/token/introspect">http://localhost:8080/auth/realms/master/protocol/openid-connect/token/introspect</a></div><div><br></div><div>Cheers,</div><div>Thomas</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-20 15:53 GMT+02:00 Brian Watson <span dir="ltr">&lt;<a href="mailto:watson409@gmail.com" target="_blank">watson409@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I have a question regarding token validation.</div><div><br></div><div>I have an access token, and I want to make sure it&#39;s still valid. In other words, I need to ensure that either (a) the user hasn&#39;t logged out, or (b) someone hasn&#39;t invalidated the session to which the token is associated. The use case is an integration with an API gateway, in which the API gateway ensures the validity of a token with Keycloak before passing it to downstream services.</div><div><br></div><div>Is there an endpoint I can call with a token that will tell me if the token is still valid? Is there another way I should be performing this check?</div><div><br></div><div>Thank you.</div></div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>