[keycloak-user] Authroization: Receiving "Failed to enforce policy decisions" for valid token after sometime

Pedro Igor Silva psilva at redhat.com
Wed Oct 3 08:18:27 EDT 2018


Do you have a stacktrace ?

On Wed, Oct 3, 2018 at 3:50 AM Bruce Wings <testoauth55 at gmail.com> wrote:

> Has anyone else come across this issue?
>
> On Fri, Sep 28, 2018 at 12:14 PM Bruce Wings <testoauth55 at gmail.com>
> wrote:
>
> > Steps:
> >
> > 1. After obtaining a token from keycloak, I am able to
> > authenticate/authorize user with this token.
> > 2. After sometime(15-20 minutes), I start receiving *"Failed to enforce
> > policy decisions"*. If the same token was valid a few minutes before,
> > shouldn't I get the "*token expired*" message instead of "*Failed to
> > enforce policy decisions*"?
> >
> > My access token lifespan is set to 8 hours. Still I see this behavior
> > after just 15-20 minutes. Attached image for token expiry settings:
> >
> >
> > [image: image.png]
> >
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user


More information about the keycloak-user mailing list