Create a GitHub Codespace and run the rails server. When you try to login, an ActionController::InvalidAuthenticityToken error is raised.
As a sidenote, bin/rails db:prepare, which runs the seed file, also raises an error - it seems like it can't reach the Elasticsearch instance, which the app needs.
Environment
GitHub Codespace
What is the expected behaviour?
You can login and run use the platform.
What is the current behaviour?
You can run the server and GET the homepage, but you can't POST to the login end-point.
How to reproduce the issue?
Create Codespace
Run the server
bundle exec rails s -b 0.0.0.0
Try logging in using dummy data from seeds.rb
See the error in the server logs
Screenshots or Screencast
Please provide any traces or logs that could help here.
Description
Create a GitHub Codespace and run the rails server. When you try to login, an
ActionController::InvalidAuthenticityToken
error is raised.As a sidenote,
bin/rails db:prepare
, which runs the seed file, also raises an error - it seems like it can't reach the Elasticsearch instance, which the app needs.Environment
GitHub Codespace
What is the expected behaviour?
You can login and run use the platform.
What is the current behaviour?
You can run the server and GET the homepage, but you can't POST to the login end-point.
How to reproduce the issue?
seeds.rb
Screenshots or Screencast
Please provide any traces or logs that could help here.
Any possible solutions?
None come to mind, yet.
If the bug is confirmed, would you be willing to submit a PR?
Yes.