openid4java

OpenID+OAuth for YouTube using openid4java

杀马特。学长 韩版系。学妹 提交于 2020-01-25 00:59:05
问题 My application allows users to log in using OpenID from Google or Yahoo. There's also a feature which allows users to upload to YouTube. Some users arrive via a YouTube context with the purpose of creating something and uploading to YouTube. These users will need to authorize my application to access both the address on their Google Account via OpenID, and their YouTube account via OAuth. I'd like this to be achieved with a single authorization click for the user. I've seen this done here:

Java GAE, openid4java fails while doing discovery on google, Permission Denied

徘徊边缘 提交于 2019-12-12 03:26:07
问题 I am using Openid4Java to implement Openid for my app on GAE. I am also using Shiro for security. The day before i had reached a stage where things were failing for credentials matching, i.e discovery, making auth request, getting claimed_id were all working. Yesterday all hell broke lose and since then discovery on Google is failing. things that i have verified: Yahoo is working fine (end to end)and Discovery for google is working fine on my local dev box(it ofcourse fails while returning to