| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -68,6 +68,12 @@ Set the avatar image for a user:: | |||
| 68 | 68 | user.avatar = open('path/to/file.png', 'rb') | |
| 69 | 69 | user.save() | |
| 70 | 70 | ||
| 71 | + Set an external identity for a user:: | ||
| 72 | + | ||
| 73 | + user.provider = 'oauth2_generic' | ||
| 74 | + user..extern_uid = '3' | ||
| 75 | + user.save() | ||
| 76 | + | ||
| 71 | 77 | User custom attributes | |
| 72 | 78 | ====================== | |
| 73 | 79 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments