Comments (3)
In case there's any confusion for future readers, this plugin only handles the CAS protocol, not Github flavored OAuth.
I guess the "Failed login for" message you observe comes from the AccountController patch, esp. those lines : https://github.com/jbbarth/redmine_omniauth_cas/blob/master/lib/redmine_omniauth_cas/account_controller_patch.rb#L30-37
I may be interested in making this work too but for github main website, do you know if github and github enterprise share the same authentication mecanisms ?
from redmine_omniauth_cas.
Indeed, I got confused about OmniAuth. Sorry for the invalid bug report.
If anyone is interested in achieving the behavior I described, there is redmine_omniauth_github, which I forked and patched to work the way I needed. The original plugin only supports github.com, but can be easily modified to support GitHub Enterprise, as they indeed share the same API.
from redmine_omniauth_cas.
No problem, I'll take a look at your plugin for my own needs. Happy you managed to make it work !
from redmine_omniauth_cas.
Related Issues (20)
- NoMethodError raise Error 500 HOT 5
- undefined method `cas_host' for class `OmniAuth::Strategies::CAS' HOT 8
- Document what "No Support of on-the-fly registration" means
- Create user from ldap
- Maybe the Single logout not working
- How to check each and every request with cas authentication HOT 1
- Plugin works fine with Redmine 3.1.0 HOT 2
- Configurable CAS attributes
- License HOT 2
- The only thing i get is "Not found" - Redmine 3.2.2 HOT 1
- Plugin works fine with Redmine 3.3.0.stable
- 404 when accessing configuration page
- ActionView::Template::Error (undefined local variable or method `label_for_cas_login' HOT 2
- Error installing HOT 2
- Error 500 - Invalid CAS ticket when redirect URL Contains Query Params HOT 5
- Error when coming back from CAS server to Redmine application HOT 1
- Compatibility with redmine 5.0 HOT 2
- Compatibility with redmine 5.0
- Unable to add OmniAuth::Builder middleware as the middleware stack is frozen HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redmine_omniauth_cas.