jozefvaclavik / redmine_multipass Goto Github PK
View Code? Open in Web Editor NEWMultiPass SSO Plugin for Redmine
License: MIT License
MultiPass SSO Plugin for Redmine
License: MIT License
This does not work with version 2.2
repo for php code has changed to https://github.com/rps-repo/Redmine-PHP-MultiPass
FYI, using git://github.com/jozefvaclavik/redmine_multipass.git or https://github.com/jozefvaclavik/redmine_multipass.git is not working for me. With https://github.com/jozefvaclavik/redmine_multipass.git i get a 404 error.
Just wanted to let you know.
Your instructions assume that the custom app would be coded in ruby but does it have to be? The link for registration how is it supposed to be encoded. I would like to use this with a app of mine that is mostly javascript (Ext JS) with a PHP backend. I have been trying different combinations of URL encoding and JSON encoding but the only response I get is "The MultiPass token was not able to be decrypted".
Is this an array or string that is being encoded?
self.class.multipass.encode(:email => user_mail, :first_name => user_first_name, :last_name => user_last_name, :login => user_login, :remote_uid => users_remote_uid, :expires => 30.minutes.from_now)
It appeared to be an array and the colons made me think that it could also be JSON encoded.
The users_remote_uid - Is this supposed to be SiteKey_UserID where the user's id is what I am using in my custom app for the user?
Can you give a example of what the link would look like after encoding?
Thanks!
Tom
Everything seems to be fine in debug mode but when I turn it off I get 500 errors. The log shows
Processing MultipassController#index (for 173.15.219.225 at 2011-09-02 13:56:47) [GET]
Parameters: {"action"=>"index", "sso"=>"0XWjZPBvdRWIkqN8TIGRJJgEjDGWRJUpc1dWso3pv8z6i9/5HPvjPQzRUwpdi9/BprmqkeI4sleJl5pCCGJXS8XI45nIQrUtB355911CtVSilvaHBzTnF0W7KPXgR94PEgtvkLMS1ZNA0 //3j9/RuHTM91DYwEqPX7YeCAYMMU=", "controller"=>"multipass"}
NoMethodError (undefined method `empty?' for nil:NilClass):
vendor/plugins/redmine_multipass/app/controllers/multipass_controller.rb:112:in `register'
vendor/plugins/redmine_multipass/app/controllers/multipass_controller.rb:67:in `index'
config/initializers/mongrel.rb:62:in `dispatch_cgi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.