Unable to login/signup
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with main/props/sample.props.template and the resulting default.props, then inspect /etc/haproxy/haproxy.cfg alongside the Maven and Jetty startup commands. Reproduce the login/signup redirect on the cloud VM and trace the request and session flow; done means authentication completes and the user remains signed in.
Written by the indexing model from the issue text.
Description
I have followed all setup steps to deploy the Open Bank Project API server on cloud VM. The server starts successfully , but when I attempt to login/sign up via the application interface , it redirects back to login/signnup page without authenticating the user. Below are the setup and commands used:
- Environment setup on cloud instance:
mkdir OpenBankProject
sudo apt update
sudo apt install git -y
cd OpenBankProject
git clone https://github.com/OpenBankProject/OBP-API.git
cd OBP-API
sudo apt update
sudo apt install maven -y
mvn --version
-
Configuration setup:
Renamed property files in main/props/: cp sample.props.template default.props
Configured hostname : http://0.0.0.0:8080 -
HAProxy setup:
sudo apt update
sudo apt install haproxy -y -
Edited haproxy configuration file: /etc/haproxy/haproxy.cfg
frontend http_front
bind *:8080
default_backend jetty_backend
backend jetty_backend
server jetty1 120.0.0.1:8080 check
-
Enabled, started and checked status of haproxy.
-
Temporary env variable is set before running maven:
export MAVEN_OPTS = "--add-opens java.base/java.lang=ALL-UNAMED" -
Started the server using:
mvn install -pl .,obp-commons & mvn jetty:run -pl obp-api
Despite the server running and HAproxy forwarding requests correctly , the login & signup pages keep redirecting to themselves. Authentication does not proceed, and no user session is established.
Please Help me out to resolve this issue.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 482
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 15
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenBankProject/OBP-API
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenBankProject/OBP-API#2914 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
OpenBankProject/OBP-API#2888 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
OpenBankProject/OBP-API#2741 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
OpenBankProject/OBP-API#2624 · 1 comment ·
-
Validation email Open
Difficulty 3/5 1-2 days Newbie friendliness 20/100
OpenBankProject/OBP-API#2488 ·
All issues in OpenBankProject/OBP-API
Similar issues
-
Area: Excel support
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
orbeon/orbeon-forms#7893 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
chipsalliance/rocket-chip#3833 ·
-
ShuffleManagerRegistry.register recursion guard is inverted, permits GlutenShuffleManager subclasses Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100