I had the same issue, clear cache and views and try again. It will work fine.
Spark "Session Expired" when $usesApi = false
The Spark documentation says ...
To enable API support, make sure that the $usesApi property of your SparkServiceProvider is set to true.
I do not wish to show the 'API' tab under the settings section. If I set $usesApi = false; in the SparkServiceProvider, the 'API' tab is removed as expected but my session is no longer valid. If I try log in, it simply states 'Your session has expired. Please login again to continue.' and I'm no longer able to login.
Is that the correct behaviour? I was not expecting the 'API' tab functionality to be tightly coupled with the token authorisation?
Other than commenting out the 'API' related markup in the blade, is there another way of not showing the 'API' tab under the settings section?
Thanks.
Please or to participate in this conversation.