Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Djangoldp Account
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Startin blox
djangoldp-packages
Djangoldp Account
Commits
bb5bfed8
Commit
bb5bfed8
authored
Jul 24, 2019
by
Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
46ee6e63
Pipeline
#4657
passed with stage
in 27 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
README.md
README.md
+6
-3
No files found.
README.md
View file @
bb5bfed8
## Synopsis
This module is an add-on for Django that provides Web-OIDC accounts management. It plays two roles:
This module is an add-on for Django that provides Web
ID
-OIDC accounts management. It plays two roles:
-
The Relying Party
-
The Authentification provider
...
...
@@ -40,6 +40,9 @@ MIDDLEWARE = [ ..., 'djangoldp_account.auth.middleware.JWTUserMiddleware']
```
You should also ensure that
`SITE_URL`
and
`BASE_URL`
are set correctly.
## Authenticate from an external provider
-
go to mysite.org/accounts/login
...
...
@@ -78,8 +81,8 @@ Because `/user/1` is an account of an external user with webid `https://theother
# Extending User serialization
djangoldp_account use
`django.contribs.auth.User`
and mange
its serialization into JsonLd format
If you need to extend
s
it with you own relation use
`USER_NESTED_FIELDS`
on settings.py :
djangoldp_account use
s
`django.contribs.auth.User`
and manages
its serialization into JsonLd format
If you need to extend it with you own relation use
`USER_NESTED_FIELDS`
on settings.py :
```
USER_NESTED_FIELDS=['skills']
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment