-
Notifications
You must be signed in to change notification settings - Fork 64
feat: IAS App-To-App Auth #6185
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
Open
davidkna-sap
wants to merge
54
commits into
main
Choose a base branch
from
davidkna-sap_poc-ias
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,474
−46
Open
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
90a2f9a
wip
davidkna-sap b2d80f4
support reading user_uuid from jwtPayload
davidkna-sap 0ed94aa
add extraParams option field
davidkna-sap 5ec4657
Changes from lint:fix
a541e18
add workaround
davidkna-sap 24cd0a7
chore: add targetURL option to `iasBindingToDestination`
davidkna-sap 1348182
chore: fix clientsecret auth
davidkna-sap 2f2cbf6
rename options & forward mtls creds to destination
davidkna-sap f9ce3a5
chore: add changeset
davidkna-sap 9990c6f
chore: update changeset msg
davidkna-sap a146af2
chore: print warning if both `mtls` and `mtlsKeyPair` provided
davidkna-sap 6ab8a1f
Merge branch 'main' into davidkna-sap_poc-ias
KavithaSiva e5e67eb
move ias-specific opts to iasOptions & refactor parameter handling
davidkna-sap cd8e736
increase resource name flexibility
davidkna-sap 34b83be
chore: try to fix lint error
davidkna-sap fdb3d35
support user-token exchange
davidkna-sap af1d0bd
add experimental to changelog note
davidkna-sap 62d4023
add initial cache implementation
davidkna-sap 437fd87
harmonize towards `AuthenticationType` and allow disabling cache
davidkna-sap de930e4
harmonize ias/xsuaa caching
davidkna-sap fbcca4b
use xssec as the base implementation
davidkna-sap e71c268
make codeql happy
davidkna-sap 738d697
Merge branch 'main' into davidkna-sap_poc-ias
KavithaSiva 4f925f5
handle multi-resource caching
davidkna-sap 4157094
allow listing multiple IasResource in Service
davidkna-sap e60cd48
Merge branch 'main' into davidkna-sap_poc-ias
KavithaSiva 41dde3c
remove iasResource from Service interface
davidkna-sap a3a8b5e
move IAS-specific options for serviceToken & jwtBearerToken to iasOpt…
davidkna-sap 7c166fe
clean up commnets
davidkna-sap 714623c
fix ias option forwarding
davidkna-sap 5fdc97e
forward resolved tenantId in serviceToken
davidkna-sap 08313ba
always set token_format: 'jwt'
davidkna-sap 5cda06c
remove iasResource list support & fix tests
davidkna-sap 51129d6
Merge branch 'main' into davidkna-sap_poc-ias
KavithaSiva 67e7d13
fix test again
davidkna-sap 7778cd0
Merge branch 'main' into davidkna-sap_poc-ias
davidkna-sap 41cac51
Changes from lint:fix
6514dcd
Merge branch 'main' into davidkna-sap_poc-ias
KavithaSiva 87c7a9f
adress review comments
davidkna-sap ac48d3a
fix `convertResourceToUrn` `providerTenantId` handling
davidkna-sap 8dbc043
extract subdomain from user assertion
davidkna-sap 83ff890
Merge branch 'main' into davidkna-sap_poc-ias
KavithaSiva 0a0d661
Merge branch 'main' into davidkna-sap_poc-ias
KavithaSiva 651882b
Merge branch 'main' into davidkna-sap_poc-ias
KavithaSiva 005e875
address review comments
davidkna-sap 5418c33
update changelog
davidkna-sap 0c67544
address most recent review comments
davidkna-sap 189a529
Apply suggestions from code review
davidkna-sap 74e8bbf
address review comments
davidkna-sap 63d8074
chore: improve `identityServicesCache` comment
davidkna-sap 9fb61ee
chore: add requestAs tests & minor changes
davidkna-sap 60105f1
yarn generate
davidkna-sap 08071e4
Merge branch 'main' into davidkna-sap_poc-ias
davidkna-sap 23a7cad
move requestas to technical user type
davidkna-sap File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@sap-cloud-sdk/connectivity': minor | ||
| --- | ||
|
|
||
| [New Functionality] Support IAS (App-to-App) authentication (experimental). Use `transformServiceBindingToDestination()` function or `getDestinationFromServiceBinding()` function to create a destination targeting an IAS application. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.