Auto Login

25 views
Skip to first unread message

Sandeep Kohli

unread,
Jan 31, 2017, 4:32:03 AM1/31/17
to Poll Everywhere Development & API Mailing List
Hi,
I am using PollEverywhere polls in my iOS app.I open the link in a webview in the app.
But in order to post, the user needs to login. Now there are 2 logins, one the app login and the other poll everywhere login.
I have created the logins of the users and  set a default password.
Is there a way I can auto authenticate them, maybe passing username:password in the url

Thanks,
Sand

Paul Poll Everywhere

unread,
Jan 31, 2017, 1:26:20 PM1/31/17
to pollevery...@googlegroups.com
Hi,

We don't have a supported API for logging people in. We don't accept the password in the URL because URLs are frequently logged or cached and can't be relied upon to handle passwords safely.

If you have control of the browser, it is possible to submit the request on behalf of the user. Take a look at how our basic login form works: https://www.polleverywhere.com/login
We also have one that uses AJAX: https://pollev.com/login
After the auth request is made, the browser ought to keep the session cookie for future use. You can check the expires header on the cookie for more details.

However, these are not supported APIs. If you need to rely on a supported API, contact sa...@polleverywhere.com to and we can likely get a contract in place. We also do have an iOS app which can work with a SAML SSO system. Again, sa...@polleverywhere.com is the place to contact for getting that set up.

One important thing to keep in mind, you should definitely encourage users to change their passwords. You should make it really clear to your users that you ultimately have control of their accounts. The same password you are using to log people in can be used outside your app at polleverywhere.com. Generally it is not considered secure to give a 3rd-party app your password. If you wouldn't mind describing more of your use-case, I'd be happy to try making a suggestion for a more secure alternative.

Please send us a link to your app! We are always excited to see how people are using Poll Everywhere.

Cheers,
Paul



--
You received this message because you are subscribed to the Google Groups "Poll Everywhere Development & API Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polleverywhere-dev+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sandeep Kohli

unread,
Feb 1, 2017, 3:43:26 AM2/1/17
to pollevery...@googlegroups.com
Hi Paul,
Thanks for your reply.
We are developing an internal mobile app for our company.
This is kinda of a Sales Meeting, where attendees of the meeting are supposed to answer some surveys after each session.
We first thought of making these meetings anonymous, but there is also a prize for the maximum number of surveys answered, to encourage attendees to submit the survey.
We wanted that we could maybe send an email in the link, so the users don't have to login from their apps.

I am forwarding your email to the tech team and will see how they take this forward.

Thanks again,

Sandeep

--
God and peace

To unsubscribe from this group and stop receiving emails from it, send an email to polleverywhere-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Poll Everywhere Development & API Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/polleverywhere-dev/RSlwmke1lig/unsubscribe.
To unsubscribe from this group and all its topics, send an email to polleverywhere-dev+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages