Replies: 3 comments 3 replies
-
What do you mean by "Provider" in this context? All Netbox authentication is done as Users. All tokens are associated to Users. You could identify what Groups the User belongs to, but I can't think of any "Provider" that relates to Users. |
Beta Was this translation helpful? Give feedback.
-
I have followed steps 1,2 and 3 from the docs and configured in the UI but, this leaves me with no correlation between Provider ID and User ID, so I can't apply a Querysets to filter the API responses, e.g: queryset = Circuit.objects.filter(provider_id=1) The providers are using machine accounts, e.g. [email protected]. |
Beta Was this translation helpful? Give feedback.
-
I was heading down that route. As you also pointed me in that direction, I now have more confidence that I might be doing the right thing and not missing something fundamental. Thankyou for your advice. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What is a good approach to associate user API tokens to Providers. I want to know which provider is making an API call and I can only get the User from my plugin?
Beta Was this translation helpful? Give feedback.
All reactions