-
Notifications
You must be signed in to change notification settings - Fork 10
Introduce ability to pass platform parameter to the login request #171
Comments
@piterfm just want to make sure we have all the requirements here. My understanding is:
Let me know if there's a misunderstanding or there are any other requirements that I'm missing. Thanks! |
@rhoggSugarcrm that's correct. |
Currently we support
Both login and refresh flows currently work under the assumption that We can introduce support for this to be configurable at the Thoughts @rhoggSugarcrm , @khigakisugar, @yvan33 ? |
At first glance, that sounds significantly better then the approach of complicating the Here's something Joao whiteboarded for me earlier today: let joao = Agent.as('Joao'); // defaults to base
Agent.platform = 'mobile';
let bob = Agent.as('Bob'); // Bob is logged in as mobile. Joao remains logged in as base. |
Side note: This will probably also allow us to test Portal using Thorn. |
The mobile team needs to write a thorn test to verify the /metadata endpoint. For that, the test setup needs to login as a mobile user. Add ability to specify the platform parameter for the test set-up proc.
The text was updated successfully, but these errors were encountered: