aerogear / aerogear-android-sdk

AeroGear Services Android SDK
Apache License 2.0
8 stars 31 forks source link

Logout Failing Due to Null Identity Token in Logout Request #42

Closed tomjackman closed 6 years ago

tomjackman commented 6 years ago

Expected Behavior

The user should be logged out when they click the logout button.

Actual Behavior

The user is not logged out.

Steps to Reproduce the Problem

  1. Login
  2. Logout
  3. Try to Login again, you don't need to enter credentials as the session isn't being killed.

Cause

The Identity token to send in the request is null:

https://keycloak.security.feedhenry.org/auth/realms/secure-app/protocol/openid-connect/logout?id_token_hint=null&redirect_uri=org.aerogear.mobile.example:/callback

tomjackman commented 6 years ago

@aidenkeating