Reputation: 189
Using angular-auth-oidc-client v19, I want a button to redirect directly to keycloaks register form. Self registration is enabled in my keycloak config (v26).
But when I call:
this.oidcSecurityService.authorize(undefined, { customParams: { kc_action: 'register' } });
I land on the login screen, not the register form. Doesn't kc_action work anymore? I can't find any infos in the docs (keycloak and angular-oauth-oidc-client) that covers this question.
The actual URL of the register form (when I click the link 'Register' in the login form) is
http://{host}/realms/{realm}/login-actions/registration?client_id={client-id}&tab_id={some_value}&client_data={some_value}
I don't want to build the URL myself. If there's no other way, what values to use for tab_id and client_data?
Upvotes: 0
Views: 34