After an outage on September 1, the Instructure Community is now fully available, including guides, release notes, forums, and groups. If some styling still looks unusual, clear your cache and cookies.
Recently set up a local Canvas server according to the Quickstart guide (very nice guide, worked first time). All was well for a day. Could log in, create modules, developer keys etc etc.
Then, all login attempts started failing with a message "Invalid Authenticity token" at the top of the window.
Clearing the browser (cookies, local storage, everything) did not help. Trying a browser from a completely different machine did not help either.
Clearing out the database and starting with a new user (different email) also failed to remove the problem:
bundle exec rails db:initial_setup
The server error log says:
Processing by Login::CanvasController#create as HTML
Parameters: {"utf8"=>"â", "authenticity_token"=>"", "redirect_to_ssl"=>"1", "pseudonym_session"=>{"unique_id"=>"dan@dyynamo.com", "password"=>"[FILTERED]", "remember_me"=>"0"}}
[AUTH] Authlogic Validation Error: You did not provide any details for authentication.
[AUTH] Authlogic Failed Find
.....and later ...
SQL AuthenticationProvider Load (0.9ms) SELECT "authentication_providers".* FROM "authentication_providers" WHERE "authentication_providers"."account_id" = 2 AND "authentication_providers"."auth_type" = 'canvas' AND (workflow_state <> 'deleted') ORDER BY "authentication_providers"."position" ASC LIMIT 1 [development:1 master]
Can't verify CSRF token authenticity.
Any help gratefully received!
Solved! Go to Solution.
Hello ! Did you manage to fix this issue by any chance ? I have the same problem in my Bitnami setup, but for LTI Keys.... I've tried everything in the dynamic_settings.yml file, and other settings, but I'm not sure what I'm doing wrong.
Hello ! Did you manage to fix this issue by any chance ? I have the same problem in my Bitnami setup, but for LTI Keys.... I've tried everything in the dynamic_settings.yml file, and other settings, but I'm not sure what I'm doing wrong.
No, unfortunately not.
There seemed not to be anything very usable in the error messages or logs, and I found no way to reset whatever "state" was bad, even clearing the entire DB and everything in the browser did not help.
thanks for answering, I'll try for a day to fix this and if I can't I'll reinstall my Bitnami setup from scratch... this issue is very blocking, as all of my LTI Keys are unusable.
For me I just had my preferences set to block all cookies. I allowed cookies and was able to log in.
I have the same problem, Where did you change the preference to allow all cookies?
For anyone coming across this in the future, this error can show due to issues with your SSL configuration as it's used internally for this.
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.