最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

angular auth oidc client - Redirect to Keycloak self registration form - Stack Overflow

programmeradmin1浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论