A plugin for python-social-auth to authenticate with dataporten
Dataporten is an authentication, authorization and API platform for higher and lower education and research in Norway. Dataporten offers authentication of users to applications using OAuth 2.0 and the OpenID Connect.
Dataporten-auth is a client for dataporten that depends on python-social-auth.
Install with pip or by downloading the source and running setup.py.
There needs to exist an entry for your site/app at dataporten. Log in to dataporten’s dashboard and create an application.
You’ll need to set the client id and client secret in the settings of your app/site, while the application at dataporten will need one or more redirect uris.
Both the name of the settings and the redirect uris depend on the plugins used. Add at least one of the plugins below. See python-social-auth’s documentation for how.
The redirect uri is of the form <type>://<domainpath>/<suffix>/, where <type> is one of http or https, <domainpath> is the domain name of your site and an optional path, and the <suffix> is plugin-dependent. See the examples.
You can have several redirect-uris, and you will be needing at least one per plugin used.
Client id: SOCIAL_AUTH_DATAPORTEN_KEY
Client secret: SOCIAL_AUTH_DATAPORTEN_SECRET
Client id: SOCIAL_AUTH_DATAPORTEN_EMAIL_KEY
Client secret: SOCIAL_AUTH_DATAPORTEN_EMAIL_SECRET
Client id: SOCIAL_AUTH_DATAPORTEN_FEIDE_KEY
Client secret: SOCIAL_AUTH_DATAPORTEN_FEIDE_SECRET
Optionally, you can add other python-social-auth plugins as well.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|dataporten_auth-0.1.1-py2.py3-none-any.whl (6.6 kB) Copy SHA256 Checksum SHA256||py2.py3||Wheel||Aug 8, 2016|
|dataporten-auth-0.1.1.tar.gz (5.0 kB) Copy SHA256 Checksum SHA256||–||Source||Aug 8, 2016|