In my Angular application (Frontend) the users can sign-in as following:
- The user will fill-up a login-form (
username
oremail
/password
). - The user will click on
Login
and that will hit this endpoint: http://localhost:8080/auth/realms/REALM_NAME/protocol/openid-connect/token - The user will have an answer in
JWT format
and will get hisaccess_token
(jwt token),refresh_token
... etc. - Now this token will be used to access my backend APIs that will check the validity of the signature of this token against the JWKs_URI (with the encryption RSA256).
The question now is : how can I enable user registration in the same way, which means, I wish that the user can:
- Fill up a registration form
- Enter his
email
,password
,password confirmation
, more info (attributes maybe) - The user will then click on
Register
and it will hit an endpoint inKeycloak
(/register
maybe) which will return some answer about the success of this registration.
BTW: I don't want to use the user management API.