danieledwardgeorgehitchcock / ripple-energy

Python Module For Ripple Energy
MIT License
5 stars 1 forks source link

Deauthenticate Function Returns delete_token_cookie.deleted = False When Using Token Authentication Method #16

Closed danieledwardgeorgehitchcock closed 1 year ago

danieledwardgeorgehitchcock commented 1 year ago

When using the Credential (Email / Password) authentication, then deauthentication route, the GraphQL deauthentication response returns delete_token_cookie.deleted = True however, when using the Token authentication route, the GraphQL deauthentication response returns delete_token_cookie.deleted = False.

This may be due to a cookie issue whereby, a cookie is generated on authentication which isn't happening when using the token method.

As Credential authentication generates a token, the two authentication methods should function the same.