Releases: conwetlab/ckanext-oauth2
Releases · conwetlab/ckanext-oauth2
Bug Fixing
- The function
refresh_token
was calling an invalid function (get_token
instead ofget_stored_token
), so the token was not refreshed and an exception was risen.
Bug fixing
- Exception attributes are checked before accessing them in order to avoid unexpected exceptions in the OAuth2 callback.
- Add additional tests for OAuth2 Callback
Bug fixing
- User is redirected to the page set in the
came_from
parameter on logon process. - When a logon process starts and the user is already logged in, the referer is now checked in order to avoid redirecting the user to a page outside the CKAN server.
Refactoring
- Avoid using Repoze plugins
- Use OAuth2 token as API Key (FIWARE requirement)
- Ease the code
Add License
Add GNU Affero License
Store OAuth2 tokens
This version includes:
- Store OAuht2 tokens (
access_token
andrefresh_token
) since they allow us to interact with the OAuth2 service without starting the login process from the beginning.
First Version
First version. This version includes:
- Users can log in using an OAuth2 service (tested with Google and FI-Ware)
- Users are redirected to the OAuth2 service when they try to create a new account, reset the password or change their profile.