spring-cloud-dataflow-ui icon indicating copy to clipboard operation
spring-cloud-dataflow-ui copied to clipboard

feat: Angular OAuth2 login page

Open klopfdreh opened this issue 2 years ago • 1 comments

Address the issue: https://github.com/spring-cloud/spring-cloud-dataflow-ui/issues/1887

When OAuth2 is enabled and there are client-registrations with authorization-grand-type authorization_code all those are going to be listed within the Angular-Login, now. Also when you logout and login again you are redirected correctly.

❗There is one thing required to be fixed. Please refer to the backend issue for that. (See: https://github.com/spring-cloud/spring-cloud-dataflow/pull/5350)

See:

Bildschirmfoto 2023-05-19 um 12 38 34

and:

Bildschirmfoto 2023-05-19 um 12 34 28

and:

Bildschirmfoto 2023-05-19 um 12 30 38

klopfdreh avatar May 19 '23 10:05 klopfdreh

The issue within the backend is solved now. I would suggest to wait till the backend implementation has been integrated and then merge this one as far as this is also fine for you.

You are able to switch between the default spring-security oauth2 login:

login-url: "/login"

and the new login form provided via Angular with:

login-url: "/dashboard/index.html#/authentication-required"

klopfdreh avatar May 21 '23 20:05 klopfdreh

We wish to thank you for all your contributions to the project! Closing this PR in preparation for archiving this repository.

cppwfs avatar Apr 30 '25 15:04 cppwfs