OpenBankProject / OpenBankProject/OBP-API
OpenId login screen does not display
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 482
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 15
Description
I'm using OBP API develop branch, Kafka integrated.
I've set up a test OpenID Connect server instance (https://github.com/mitreid-connect/OpenID-Connect-
Java-Spring-Server/) and I've tried to integrate OBP API with it.
My props look like this:
allow_openidconnect=true
openidconnect.clientSecret=secret
openidconnect.clientId=client
openidconnect.domain=localhost
[obp-api_openid_connect.txt](https://github.com/OpenBankProject/OBP-API/files/502437/obp-api_openid_connect.txt)
openidconnect.callbackURL=http://127.0.0.1:8080/my/logins/openidconnect
openidconnect.login_ui_url=http://localhost:8280/openid-connect-server-webapp/login
openidconnect.button_logo=http://wiki.openid.net/f/openid-logo-wordmark.png (10KB)
When I try to login via
http://localhost:8080/user_mgt/login
nothing happens, no login screen shows up.
The OpenID server is ok, I've tested it with a separate client app.
I'm attaching the OBP API log.
obp-api_openid_connect.txt
- Maybe it's about the 'login redir: Empty' seen in logs?
- Or maybe it's about the 'ERROR - KafkaConsumer: timeout ' msg. There is an json request inserted into the Request Kafka queue. It looks like this:
{"getUser":{"email":"admin","password":"password"}}
But then - why is this request posted to kafka? With password?
I've discussed this issue with Petar Bozin via slack.
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.
Research direction
Start at the /user_mgt/login entry point and review the supplied OpenID Connect properties, especially login_ui_url and callbackURL. Reproduce the missing login screen with the attached OBP API log, checking the “login redir: Empty” and KafkaConsumer timeout messages. Done means the OpenID login screen appears and the authentication flow completes without the reported failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kafka, scala
- Domain
- api, authentication, backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100