8000 Keycloak setup for ID Austria (with transient sub) · keycloak keycloak · Discussion #51873 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

The bPK is located in an attribute named: urn:pvpgvat:oidc.bpk
Ah, the attribute name format yields more to a SAML provider, not a OIDC provider.
But the Username Template Importer mapper is also available for SAML providers. 🙂

To get the bPK as the userId (will yield as sub in the KC issued tokens), you must use the Username Template Importer, not a regular Attribute Importer. The mapper might look like this:

(I haven't tested this specific usecase, just deriving from other cases)

If your attribute urn:pvpgvat:oidc.bpk also has a friendly name, e.g. bPK, the template also could be ATTRIBUTE.bPK
From the helptext of the template field:

Template to use to format the username to import.…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ThriceGood
Comment options

@dasniko
Comment options

Answer selected by ThriceGood
@ThriceGood
Comment options

@ThriceGood
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0