8000 unable to retrive Azure IDP token · keycloak keycloak · Discussion #17474 · GitHub
[go: up one dir, main page]

Skip to content
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"unable to retrive Azure IDP token","text":"\u003cp dir=\"auto\"\u003ehi\u003cbr\u003e\nI successfully integrated keycloack with Azure. I can get token from keycloak when my user \"Authorization Token\" grant type.\u003cbr\u003e\nStoring readable tokens are enabled, my Azure user and client are granted role to view the tokens. However when I execute the operation to get token I am getting an error - like in the below screenshot.\u003cbr\u003e\n{\u003cbr\u003e\n\"errorMessage\": \"User [8513d275-ac09-4ad5-be97-***************] is not associated with identity provider [oidc].\"\u003cbr\u003e\n}\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe user ID which is not associated with the oidc (Azure) is the clientID I use when getting the token from keycloak, not my personal account/user which is logging in to Azure.\u003cbr\u003e\nWhen I link my the clientID with oidc IDP provider (and link it with personal account) I am getting http 500 from keycloak.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eAny idea how I can make it working?\u003cbr\u003e\nThanks in advance\u003cbr\u003e\n\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/21661371/223165795-a3a1d510-564e-44de-a5fb-9d421458ac92.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/21661371/223165795-a3a1d510-564e-44de-a5fb-9d421458ac92.png\" alt=\"image\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"\u003cp dir=\"auto\"\u003esolved by closing the browser used for authentication of Azure user and disabling parallel sessions opened by a local keycloack admin account\u003c/p\u003e","upvoteCount":1,"url":"https://gitHub.com/keycloak/keycloak/discussions/17474#discussioncomment-5225724"}}}
Discussion options

You must be logged in to vote

solved by closing the browser used for authentication of Azure user and disabling parallel sessions opened by a local keycloack admin account

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wirowka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
0