Skip to content

Update Harbor OIDC after IDP host change #20550

Discussion options

You must be logged in to vote

I was able to fix it by updating the values in the database.

I only have one OIDC enabled, so this worked for me without additional filters. If you have multiple OIDC providers configured, you may need to add additional WHERE clauses.

UPDATE properties SET v = 'https://new-keycloak.com/realms/main' WHERE k = 'oidc_endpoint';

The subiss field in the oidc_user table also needed updating:

UPDATE oidc_user set subiss = '263e62ef-399e-447c-98fb-17ac0b81fa74https://new-keycloak.com/realms/main' where subiss = '263e62ef-399e-447c-98fb-17ac0b81fa74https://old-keycloak.com/realms/main';

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@NiklasRosenstein
Comment options

@NiklasRosenstein
Comment options

Comment options

You must be logged in to vote
1 reply
@NiklasRosenstein
Comment options

Answer selected by NiklasRosenstein
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