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

Add customerId to gesture path #33

Merged
merged 4 commits into from
Oct 27, 2023
Merged

Add customerId to gesture path #33

merged 4 commits into from
Oct 27, 2023

Conversation

donaldgray
Copy link
Member

@donaldgray donaldgray commented Oct 27, 2023

The customerId value isn't currently used in code execution but keeps paths consistent and gives scope to use later if required

Gesture path was previously /auth/v2/access/gesture.

This change makes it /auth/v2/access/{customerId}/gesture which keeps it aligned with other paths, which makes configuring bulk rewrite rules easier. E.g.

  • Access Service: /auth/v2/access/{customerId}/{accessServiceName}
  • Logout Service: /auth/v2/access/{customerId}/{accessServiceName}/logout

Overriding the default value is done via appSettings rather than DB settings, this can be changed later if required. Note that the values configured in appSettings must contain the pathBase value, it felt wrong to force it to be picked up as the alternative route format may exclude it.

This isn't currently used in code execution but keeps paths consistent
and gives scope to use later if required
@donaldgray donaldgray marked this pull request as ready for review October 27, 2023 13:33
@donaldgray donaldgray merged commit b763923 into main Oct 27, 2023
1 check passed
@donaldgray donaldgray deleted the feature/gesture_path branch October 27, 2023 15:29
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.

2 participants