Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

write permission is set at an app level, not a per-user level... so asking at auth time is already to late to know.


Nope, you can do it when redirecting the user to the OAuth provider:

http://blog.stochastictechnologies.com/gaining-read-only-acc...


Nice! How does that handle upgrading the permissions later? That was one of the big problems I ran into before: that we requested read access and then to get write access we had to have users first revoke permissions and then grant them again (a nonstarter.)


I'm not sure, unfortunately, but I assume that if you log the user in and out, requesting read-write permission the second time, it will ask.


Thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: