-
Notifications
You must be signed in to change notification settings - Fork 136
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
Updates README with minor changes #425
Conversation
@@ -92,7 +92,7 @@ Snapshots are deployed off of the 'master' branch to [OSSRH](https://oss.sonatyp | |||
https://oss.sonatype.org/content/repositories/snapshots/ | |||
``` | |||
|
|||
You'll also need: |
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.
To maintain consistency, as we have used You will
in other sentences.
@@ -104,8 +104,8 @@ Construct a client instance by passing it your Okta domain name and API token: | |||
[//]: # (method: createClient) | |||
```java | |||
Client client = Clients.builder() | |||
.setOrgUrl("{yourOktaDomain}") | |||
.setClientCredentials(new TokenClientCredentials("{apiToken}")) |
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.
Having these brackets is confusing for some users, who tend to include them while adding values. I've seen users ask questions about it on devforum.
- okta.apps.read | ||
privateKey: "~/.okta/privateKey.pem" # PEM format. This SDK supports RSA AND EC algorithms - RS256, RS384, RS512, ES256, ES384, ES512. | ||
clientId: "yourClientId" | ||
scopes: "okta.users.read okta.apps.read" |
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.
Right now, multi line scopes is not working as expected. @arvindkrishnakumar-okta is aware of the issue. Once he fixes it, we can update the README if needed.
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.
@vijetmahabaleshwar-okta I just recalled that this issue was already noticed and fixed (see #379). Please build the latest SDK from master and inject it into your client app to get past this.
README.md
Outdated
|
||
[//]: # (method: createOAuth2Client) | ||
```java | ||
Client client = Clients.builder() | ||
.setOrgUrl("{yourOktaDomain}") | ||
.setOrgUrl("https://{yourOktaDomain}") // E.g https://dev-123456.okta.com |
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.
.setOrgUrl("https://{yourOktaDomain}") // E.g https://dev-123456.okta.com | |
.setOrgUrl("https://{yourOktaDomain}") // e.g. https://dev-123456.okta.com |
README.md
Outdated
@@ -104,8 +104,8 @@ Construct a client instance by passing it your Okta domain name and API token: | |||
[//]: # (method: createClient) | |||
```java | |||
Client client = Clients.builder() | |||
.setOrgUrl("{yourOktaDomain}") | |||
.setClientCredentials(new TokenClientCredentials("{apiToken}")) | |||
.setOrgUrl("https://{yourOktaDomain}") // E.g https://dev-123456.okta.com |
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.
.setOrgUrl("https://{yourOktaDomain}") // E.g https://dev-123456.okta.com | |
.setOrgUrl("https://{yourOktaDomain}") // e.g. https://dev-123456.okta.com |
Codecov Report
@@ Coverage Diff @@
## master #425 +/- ##
============================================
- Coverage 71.81% 71.71% -0.10%
+ Complexity 1284 1283 -1
============================================
Files 129 129
Lines 4172 4172
Branches 677 677
============================================
- Hits 2996 2992 -4
- Misses 931 933 +2
- Partials 245 247 +2
Continue to review full report at Codecov.
|
a07a416
to
3a5acc4
Compare
Issue(s)
Description
Category