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

Updates README with minor changes #425

Merged
merged 1 commit into from
Jul 3, 2020

Conversation

vijetmahabaleshwar-okta
Copy link
Contributor

Issue(s)

Description

Category

  • Bugfix
  • Enhancement
  • New Feature
  • Configuration Change
  • Versioning Change
  • Unit Test(s)
  • Documentation

@@ -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:
Copy link
Contributor Author

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}"))
Copy link
Contributor Author

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"
Copy link
Contributor Author

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.

Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.setOrgUrl("https://{yourOktaDomain}") // E.g https://dev-123456.okta.com
.setOrgUrl("https://{yourOktaDomain}") // e.g. https://dev-123456.okta.com

@codecov-commenter
Copy link

codecov-commenter commented Jul 3, 2020

Codecov Report

Merging #425 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

Impacted file tree graph

@@             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     
Impacted Files Coverage Δ Complexity Δ
...okta/sdk/impl/ds/DefaultDiscriminatorRegistry.java 80.76% <0.00%> (-15.39%) 6.00% <0.00%> (-1.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83acdc8...3a5acc4. Read the comment docs.

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.

3 participants