AppiumTestDistribution / appium-device-farm

This is an Appium 2.0 plugin designed to manage and create driver sessions on available devices.
https://devicefarm.org
Other
311 stars 97 forks source link

Can we have authentication like SSO / OAUTH2 / SAML or user defined for device farm ? #583

Open samagarw opened 1 year ago

samagarw commented 1 year ago

We wanted to use this solution for testing in my org . But we don't have any authentication for dashboard / device farm . Is there a way we can enable this ?

Need your support with this .

saikrishna321 commented 1 year ago

Can you please tell me what is the need for auth ?

samagarw commented 1 year ago

We want to use this publicly and should be accessible over internet . Currently anyone with the link would be able to hack the devices .

Can we implement some plugin or configure any authentication to access the grid / device-farm .

saikrishna321 commented 1 year ago

Device Farm plugin is a part of the appium server. Even if we add auth to the device-farm this still opens anyone to access the server.

Why would you want make your cloud public?

will-holley commented 1 year ago

While I would also find value in this feature, I believe that it should not be part of the core library. There is already, in my opinion, too little modularity which comes at the cost of extensibility. In an ideal world, @samagarw, you would be able to easily implement this yourself (as this is OSS).

nethajiprabhu-gunasekaran commented 1 year ago

I believe authentication will help appium-dashboard plugin users. In the current state, anyone who can access the dashboard are loading live videos from all the sessions. Having restriction of streaming the signed in user's session will mitigate it.