Some notes on Blender ID setup for development #55266

Open
opened 2018-05-31 00:25:08 +02:00 by Francesco Siddi · 2 comments

After going through a fresh install, we might wanna expand on the following topics in the readme:

  • how to setup and OAuth application
  • how to configure a proper URL for the service (http://id.local:8000)
  • creation of the first superuser should handle creation of nickname and set the confirmation date as well (so that no email confirmation is required)
After going through a fresh install, we might wanna expand on the following topics in the readme: * how to setup and OAuth application * how to configure a proper URL for the service (http://id.local:8000) * creation of the first superuser should handle creation of nickname and set the confirmation date as well (so that no email confirmation is required)
Author
Owner

Added subscribers: @fsiddi, @pablovazquez

Added subscribers: @fsiddi, @pablovazquez

The README in Blender ID suggests http:*blender-id:8000/ as URL, but django doesn't seem to like that. Use something like http:*id.local:8000/ instead.

  • Add client from OAuth2 application in admin
  • Set a name to the application. Name is not mandatory so you might miss it, but without a name it's very hard to select the app from the list later since only the name is clickable (tsk tsk).
  • Client type and Authorization grant type are mandatory but not specified anywhere, 'Confidential' and 'Authorization code' seem to do the job.

config_local of the app must have:

BLENDER_ID_ENDPOINT = 'http://id.local:8000/'

Otherwise it seems to fallback to blender-id which is not valid anymore.

Your user must be verified by email. To bypass this you need to edit your user in django and set "Confirmation Date" and "Privacy Agreed" under 'important dates'.

The README in Blender ID suggests http:*blender-id:8000/ as URL, but django doesn't seem to like that. Use something like http:*id.local:8000/ instead. * Add client from OAuth2 application in admin * Set a name to the application. Name is not mandatory so you might miss it, but without a name it's very hard to select the app from the list later since only the name is clickable (tsk tsk). * Client type and Authorization grant type are mandatory but not specified anywhere, 'Confidential' and 'Authorization code' seem to do the job. config_local of the app must have: ``` BLENDER_ID_ENDPOINT = 'http://id.local:8000/' ``` Otherwise it seems to fallback to blender-id which is not valid anymore. Your user must be verified by email. To bypass this you need to edit your user in django and set "Confirmation Date" and "Privacy Agreed" under 'important dates'.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/blender-id#55266
No description provided.