Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(authentication-service): update urls and add scope for keycloak idp #2176

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Tyagi-Sunny
Copy link
Contributor

update urls and add scope for keycloak idp

BREAKING CHANGE:
yes

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Intermediate change (work in progress)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist:

  • Performed a self-review of my own code
  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Any dependent changes have been merged and published in downstream modules

@yeshamavani
Copy link
Contributor

@Tyagi-Sunny update the readme file saying that people using the older version can still use this by only updating the KEYCLOCK_HOST and appending '/auth/realms' to its existing value

@yeshamavani yeshamavani self-requested a review as a code owner November 7, 2024 08:44
…oak idp

update urls and add scope for keycloak idp

BREAKING CHANGE:
yes

47
add realm to kecloak host env

BREAKING CHANGE:
yes

0
@Tyagi-Sunny
Copy link
Contributor Author

@Tyagi-Sunny update the readme file saying that people using the older version can still use this by only updating the KEYCLOCK_HOST and appending '/auth/realms' to its existing value

added

Copy link

sonarcloud bot commented Nov 13, 2024

Comment on lines +408 to 411
<td>Hostname of the Keycloak instance. For all keycloak version below 17, user can still use this by only updating the KEYCLOCK_HOST and appending '/auth/realms' to its existing value</td>
<td></td>
</tr>
<tr>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about the extra scope parameter that we are passing
will that cause any issue for older versions of keyclock

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a default scope: 'openid' is good practice, as some configurations expect this scope to be explicitly specified for OpenID Connect flows.The scope parameter should work across Keycloak versions without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants