Coder Social home page Coder Social logo

redmine_multipass's People

Contributors

jozefvaclavik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

redmine_multipass's Issues

Custom app not ruby

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

500 error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.