@@ -4,11 +4,20 @@ This utility can generate and validate key pairs, generate SAML assertions accep
4
4
5
5
Features:
6
6
7
- - [ Generate a new key pair] ( #generate-a-new-key-pair )
8
- - [ Check certificate validity] ( #check-the-oauth-client-certificates-validity )
9
- - [ Generate assertion (and validate)] ( #generate-via-cli )
10
- - [ Run a local web service to generate an assertion and provide access tokens] ( #run-a-web-service-returning-oauth-access-tokens )
11
- - [ Integrate with a Postman OAuth flow to obtain an access token] ( #usage-with-postman )
7
+ - [ OAuth 2.0 SAML Assertion Access Token Generator for SAP SuccessFactors HXM Suite] ( #oauth-20-saml-assertion-access-token-generator-for-sap-successfactors-hxm-suite )
8
+ - [ Prerequisites] ( #prerequisites )
9
+ - [ Installation] ( #installation )
10
+ - [ Usage] ( #usage )
11
+ - [ Generate a new key pair] ( #generate-a-new-key-pair )
12
+ - [ Create or update the OAuth client in SuccessFactors] ( #create-or-update-the-oauth-client-in-successfactors )
13
+ - [ Run a web service returning OAuth access tokens] ( #run-a-web-service-returning-oauth-access-tokens )
14
+ - [ Usage with Postman] ( #usage-with-postman )
15
+ - [ Generate via CLI] ( #generate-via-cli )
16
+ - [ Argument Aliases] ( #argument-aliases )
17
+ - [ Check the OAuth client certificate's validity] ( #check-the-oauth-client-certificates-validity )
18
+ - [ Learning Only Users] ( #learning-only-users )
19
+ - [ Contributing] ( #contributing )
20
+ - [ Sponsorship] ( #sponsorship )
12
21
13
22
## Prerequisites
14
23
@@ -127,19 +136,20 @@ Token is valid 🎉
127
136
128
137
# ### Argument Aliases
129
138
130
- | alias | argument |
131
- | ----- | ------------ |
132
- | -g | --generate |
133
- | -n | --newkeypair |
134
- | -c | --clientId |
135
- | -u | --userId |
136
- | -i | --companyId |
137
- | -h | --hostname |
138
- | -v | --validate |
139
- | -t | --ttl |
140
- | -p | --port |
141
- | -r | --raw |
142
- | -d | --dir |
139
+ | alias | argument |
140
+ | ----- | -------------- |
141
+ | -g | --generate |
142
+ | -n | --newkeypair |
143
+ | -c | --clientId |
144
+ | -u | --userId |
145
+ | -i | --companyId |
146
+ | -h | --hostname |
147
+ | -v | --validate |
148
+ | -t | --ttl |
149
+ | -p | --port |
150
+ | -r | --raw |
151
+ | -d | --dir |
152
+ | -l | --learningOnly |
143
153
144
154
# ## Check the OAuth client certificate's validity
145
155
@@ -148,6 +158,10 @@ $ sf-oauth --validate [--companyId]
148
158
notAfter=Mar 6 13:37:03 2032 GMT
149
159
` ` `
150
160
161
+ # ## Learning Only Users
162
+
163
+ The SuccessFactors Learning OAuth token server is deprecated. Instead, you can use the SuccessFactors Platform token server to generate OAuth tokens even if the user does not exist in Employee Profile or Employee Central, a so-called learning-only user. For this use-case, use the ` -l` or ` --learningOnly` argument.
164
+
151
165
# # Contributing
152
166
153
167
Contributions are more than welcome! Please open an issue or a pull request.
0 commit comments