Skip to content

Commit

Permalink
Updating readme & bump version to 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyasampatoor committed Dec 28, 2018
1 parent a43ae8a commit c8bc478
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ To generate a token, you need to pass in `issuer`, `client_id`, `client_secret`,
>>> generate_token(issuer, client_id, client_secret, username, password)
```

This generates and returns Okta Access Token. You should Probably see something as below:
```python
[Okta::Jwt] Generating Okta Token
{token}
```
This generates and returns Okta Access Token.


To Validate the Access Token, you need to pass in the `access_token`, `issuer`, `audience` and `client_ids` as parameters. You can pass in multiple Client IDs
```python
Expand All @@ -34,15 +31,6 @@ To Validate the Access Token, you need to pass in the `access_token`, `issuer`,

If the token is valid then it will return the payload.

The output from `validate_token` will look similar to the following:
```python
[Okta::Jwt] Verifying Claims
[Okta::Jwt] Fetching public key: kid => {kid}
[Okta::Jwt] Fetching MetaData
[Okta::Jwt] Validating the Access Token

Valid Token
```

## Running the tests

Expand Down
2 changes: 1 addition & 1 deletion okta_jwt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__name__ = 'okta_jwt'
__version__ = '1.3.3'
__version__ = '1.3.4'
__author__ = 'Adithya Sampatoor'
__license__ = 'MIT'
__copyright__ = 'Copyright 2018 Adithya Sampatoor'
Expand Down

0 comments on commit c8bc478

Please sign in to comment.