This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 352518 - Support OAuth2 as repository credentials
Summary: Support OAuth2 as repository credentials
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks: 373293
  Show dependency tree
 
Reported: 2011-07-19 20:50 EDT by Kevin Sawicki CLA
Modified: 2012-03-06 00:59 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Sawicki CLA 2011-07-19 20:50:02 EDT
Add support for obtaining an OAuth2 access token and using it as the
credentials for a task repository.
Comment 1 Kevin Sawicki CLA 2011-07-19 20:51:04 EDT
I created a simple initial implementation that uses an Eclipse browser in a dialog to walk
the user through authenticating and allowing access using OAuth2: https://github.com/kevinsawicki/eclipse-oauth2
Comment 2 Steffen Pingel CLA 2011-07-20 16:24:26 EDT
That sounds very interesting. I have added the proposal to next weeks' meeting agenda: http://wiki.eclipse.org/Mylyn/Meetings#July_29.2C_10-11am_PT
Comment 3 Steffen Pingel CLA 2011-07-28 13:37:22 EDT
Unfortunately, we didn't get around to discussing this and I'll be away next week. I have added it to the agenda in two weeks.
Comment 4 Shawn Minto CLA 2011-08-11 13:11:11 EDT
I think that this would be useful in the framework as task repositories are going to start using OAuth and other services (i.e. Twitter) use OAuth.
Comment 5 Steffen Pingel CLA 2011-08-11 13:31:55 EDT
I agree. While we don't have a reference implementation that requires it right now this is likely to become a priority in the future. Kevin, how far along is the implementation on github?
Comment 6 Kevin Sawicki CLA 2011-08-11 14:18:08 EDT
The project I created supports OAuth2 and handles opening a browser and getting the token if the user authorizes it, it does not use Apache Amber which might be another consideration since that is a more robust OAuth library than the small subset I added just to get things working.

http://wiki.apache.org/incubator/AmberProposal
Comment 7 Kevin Sawicki CLA 2011-08-11 20:31:03 EDT
Looking at the thread here: http://www.mail-archive.com/amber-dev@incubator.apache.org/msg00426.html
It looks like a first release of Apache Amber may be soon.
Comment 8 Steffen Pingel CLA 2011-09-16 05:39:57 EDT
I'll move this to the commons project. Kevin, just ping me here if there any news or you would like to proceed with the contribution. I might have implemented something similar to support OpenID authentication in Gerrit: http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.reviews.git/tree/gerrit/org.eclipse.mylyn.gerrit.ui/src/org/eclipse/mylyn/internal/gerrit/ui/GerritRepositoryLocationUi.java
Comment 9 Steffen Pingel CLA 2011-09-20 10:14:12 EDT
Another interesting project that offers authentication support for various social services is Spring Social: http://www.springsource.org/spring-social
Comment 10 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn