unsay / vicini

9 stars 1 forks source link

Fix persona login system. #17

Closed jdalt closed 10 years ago

jdalt commented 10 years ago

The persona login through omniauth is failing. There is no debug information being dumped to stdout by omniauth and the environment variable request.env['omniauth.auth'] is not being set.

jdalt commented 10 years ago

Checking out a much earlier commit it seems that omniauth does log to the terminal and it seems likely that it isn't being properly pulled in.

jimthedev commented 10 years ago

@jdalt I am seeing the same results on the most recent commit to master. Looks like it might be due to the auto appending of .json rather than using ?format=json. Seems like this thread describes the same or similar issue. Not sure if persona uses the same method as Facebook and Google for encoding redirect urls.

https://github.com/intridea/omniauth/issues/618