Page MenuHome

Self hosted blender cloud
Closed, ResolvedPublic

Description

Hello,
I'm trying to install blender cloud server on a debian 9 (in order to keep everything internal), I managed to install pillar, with blender cloud and the correct extensions, but I still have a few problems :

  • Authentification : I can create local accounts using the CLI, but how can I use them and login with them on the web interface ?
  • Vendor assets : A lot of vendor assets (as typehead.js) are missing, and I can't seem to find any script that retrieve those assets... does such a script exist (no trace of any bower.json either... And nothing in the package.json...)

Thanks in advance for the help, and thanks for all your dedicated work !

Details

Type
To Do

Event Timeline

Philipp Oeser (lichtwerk) triaged this task as Normal priority.

Hi, for buerocratic reasons, I'll change this to TODO, and would kindly ask @Sybren A. Stüvel (sybren) to share his wisdom? [I havent been through setting this up here myself...]

Philipp Oeser (lichtwerk) changed Type from Bug to To Do.Jun 19 2018, 4:11 PM

Authentification : I can create local accounts using the CLI, but how can I use them and login with them on the web interface ?

Local accounts aren't tested with Blender Cloud, as Cloud always uses Blender ID for authentication. You can host your own Blender ID, or investigate for yourself. Maybe I'm wrong here, though; @Francesco Siddi (fsiddi) implemented local accounts, so maybe more works than I'm aware of. I only work with Blender ID authentication.

Vendor assets : A lot of vendor assets (as typehead.js) are missing, and I can't seem to find any script that retrieve those assets... does such a script exist (no trace of any bower.json either... And nothing in the package.json...)

There is no mention anywhere of typehead.js in the source. There is jquery.typeahead-0.11.1.min.js mentioned, but that one is not missing (it's in pillar/web/static/assets/js/vendor/jquery.typeahead-0.11.1.min.js).

Hello,

I work with @Arthur Toussaint (konfiot1) on this project. I successfully installed Blender ID locally and it seems to work fine. However, I can't figure out how to connect the local instance of blender cloud and blender id: when I click on "sign in" on the local blender cloud page, that redirects me to the blender id login form, but once I'm logged in, the redirection back to the blender cloud won't work, stating that there is an "Invalid client_id parameter value".

The problem lies in my blender-cloud/config_local.py, where I specify the id used in the URI. But I have no idea what value I should give it. My guess was that the id should beBLENDER_ID_ADDON_CLIENT_ID and the secret should be the SECRET_KEY that are in the blender-id/blenderid/settings.py but even that didn work. I tried a bunch of things but none of them seemed to work and I'm all out of ideas... I hope you could help me out on this one :/

Thank you for taking the time to answer our questions, and for developing such an amazing and powerful tool :)

EDIT: I finally found out how to solve this, the id and secret I was supposed to use were in the "Blender cloud devserver" application settings

Please do *not* use the devserver settings as-is. This will make your install insecure as everybody has access to that secret. You can use it as a basis, but change the secret so that it's totally new and random. The best way to do this is to create a new OAuth Application in the Blender ID admin and use the devserver settings as a template. Then delete the devserver OAuth Application.

The settings in Blender Cloud just have to match the client ID and secret that you configure in Blender ID.

Sybren A. Stüvel (sybren) closed this task as Resolved.Jul 3 2018, 5:07 PM