-
Notifications
You must be signed in to change notification settings - Fork 144
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
Allow access to the tenant perspective APIs #298
base: master
Are you sure you want to change the base?
Allow access to the tenant perspective APIs #298
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #298 +/- ##
========================================
Coverage 3.66% 3.66%
Complexity 20 20
========================================
Files 36 36
Lines 1529 1529
Branches 254 254
========================================
Hits 56 56
Misses 1472 1472
Partials 1 1 ☔ View full report in Codecov by Sentry. |
.max(Comparator.comparingInt(rewriteContext -> rewriteContext.getContext().length())); | ||
maybeOrgRewriteContext.ifPresent( | ||
organizationRewriteContext -> organizationRewriteContext.addSubPath( | ||
Pattern.compile("^/t/[^/]+/o/[a-f0-9\\-]+" + subPath))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pattern.compile("^/t/[^/]+/o/[a-f0-9\\-]+" + subPath))); | |
Pattern.compile("^/t/[^/]+/o/[a-z0-9\\-]+" + subPath))); |
|
||
private boolean isOrganizationIdAvailableInTenantPerspective(String requestURI) { | ||
|
||
return Pattern.compile("^/t/[^/]+/o/[a-f0-9\\-]+?").matcher(requestURI).find(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return Pattern.compile("^/t/[^/]+/o/[a-f0-9\\-]+?").matcher(requestURI).find(); | |
return Pattern.compile("^/t/[^/]+/o/[a-z0-9\\-]+?").matcher(requestURI).find(); |
Proposed changes in this pull request
/t/{tenant-domain}/o/{org-id}/api/identity/oauth2/dcr/v1.1/register
/t/{tenant-domain}/o/{org-id}/oauth2/token?scope=openid ...
When should this PR be merged