colymba / silverstripe-restfulapi

SilverStripe RESTful API with a default JSON serializer.
BSD 3-Clause "New" or "Revised" License
64 stars 33 forks source link

Setting tokenOwnerClass #103

Closed thejimu closed 5 years ago

thejimu commented 5 years ago

I am having trouble setting the tokenOwnerClass

I have added TokenAuthExtension to the 'Project' dataobject and this works - I can see that these DB fields are created on Project.

However, the tokenOwnerClass in my YML file is not recognized and it defaults back to Member.

Any tips on this?

config:

Project: extensions:

colymba commented 5 years ago

Have you tried with the full namespace?

thejimu commented 5 years ago

Hey there! Yes I did, and it worked, thanks so much!