Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intercept specific requests #1

Open
coolhlm opened this issue Jun 22, 2022 · 1 comment
Open

Intercept specific requests #1

coolhlm opened this issue Jun 22, 2022 · 1 comment

Comments

@coolhlm
Copy link

coolhlm commented Jun 22, 2022

Using authorization code (keycloak14.0.0), the password is clear text.
image

And i use this spi to encrypted password
image
but i get an error when the browser visit 'http://localhost:8080/auth/realms/td-platform/protocol/openid-connect/auth'
image

is there anyway to encrpt 'http://localhost:8080/auth/realms/td-platform/login-actions/authenticate' only?
thank you

@edwin
Copy link
Owner

edwin commented Jun 22, 2022

Hi @coolhlm
this example is for a direct grant flow and not for a browser flow
it still doable tho, only need some minor tweaking
including changing the UI template where encryption will happen

hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants