Skip to content

Commit

Permalink
Merge pull request #34 from ridi/feature/chagne_dir
Browse files Browse the repository at this point in the history
Feature/chagne dir
  • Loading branch information
jaquan-paik authored Oct 11, 2019
2 parents b8c6c6c + 10ded3c commit 0d1a9d9
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 43 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Changelog
=========
1.0.1 (Oct 10st 2019)
------------------
- Change lib dir to ridi_django_oauth2_lib for preventing dir conflict
- Update README.md

1.0.0 (Oct 10st 2019)
------------------
- Change main logic to get public key from OAuth2 server
Expand Down
13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,7 @@ AUTH_USER_MODEL = 'ridi_django_oauth2.RidiUser'


# RIDI Setting
RIDI_OAUTH2_JWT_SECRETS = [
{
'kid': '0',
'secret': 'this-is-hs256-key',
'alg': 'HS256',
},
{
'kid': '1',
'secret': 'this-is-rs256-public-key',
'alg': 'RS256',
},
]
RIDI_OAUTH2_KEY_URL = 'https://{auth_server_host}/oauth2/keys/public'
RIDI_OAUTH2_CLIENT_ID = 'this-is-client-id'
RIDI_OAUTH2_CLIENT_SECRET = 'this-is-client-secret'

Expand Down
28 changes: 0 additions & 28 deletions lib/decorators/memorize.py

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ridi_oauth2/introspector/dtos.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from Crypto.PublicKey import RSA

from lib.utils.bytes import bytes_to_int
from ridi_django_oauth2_lib.utils.bytes import bytes_to_int
from ridi_oauth2.introspector.constants import JWK_EXPIRES_MIN


Expand Down
2 changes: 1 addition & 1 deletion ridi_oauth2/introspector/key_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import requests
from requests import RequestException, Response

from lib.decorators.retry import RetryFailException, retry
from ridi_django_oauth2_lib.decorators.retry import RetryFailException, retry
from ridi_django_oauth2.config import RidiOAuth2Config
from ridi_oauth2.introspector.constants import JWKKeyType, JWKUse
from ridi_oauth2.introspector.dtos import JWKDto
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import find_packages, setup

version = '1.0.0'
version = '1.0.1'

# When the project is installed by pip, this is the specification that is used to install its dependencies.
install_requires = [
Expand Down

0 comments on commit 0d1a9d9

Please sign in to comment.