Re: [PROPOSAL] Separate login service for API calls

2020-09-25 Thread Gavin Mabie
Sessions are extremely useful and even indispensable for an ERP system where statefullnes are critical for audit trail purposes. Stateless requests don't care about transactions beyond the actual request/response. Besides, sessions are only problematic when a new session gets created for each REST

[PROPOSAL] Separate login service for API calls

2020-09-25 Thread Girish Vasmatkar
Hi I am using userLogin service to authenticate users before generating auth tokens for REST API and GraphQL calls. However, I figured that a session is also getting created and returned in response which is defeating the purpose of having an API in place. Even though that session is not getting