OpenBankProject / OpenBankProject/OBP-API
Unable to login/signup
Nessuno ha ancora preso questa issue.
- Lingua principale
- Scala
- Stelle
- 1.7k
- Fork
- 482
- Merge medio
- 1g 12h
- PR unite (30g)
- 15
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con main/props/sample.props.template e il default.props risultante, quindi esamina /etc/haproxy/haproxy.cfg insieme ai comandi di avvio di Maven e Jetty. Riproduci il reindirizzamento di login/signup sulla VM cloud e traccia il flusso della richiesta e della sessione; il lavoro è completato quando l'autenticazione termina correttamente e l'utente rimane autenticato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, scala
- Ambito
- api, authentication, backend, cloud, devops
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100