temporarily disable auth for connections
This commit is contained in:
parent
dc1a60910f
commit
8dc43c0132
@ -69,7 +69,7 @@ class Connection(AbstractConnectionClient):
|
|||||||
response = client.link_token_create(request)
|
response = client.link_token_create(request)
|
||||||
|
|
||||||
self.credentials.update(response.to_dict())
|
self.credentials.update(response.to_dict())
|
||||||
return self.credentials
|
# return self.credentials
|
||||||
|
|
||||||
def get_auth_token(self, public_token):
|
def get_auth_token(self, public_token):
|
||||||
try:
|
try:
|
||||||
|
|||||||
@ -23,7 +23,7 @@ class ConnectionTypeViewSet(viewsets.ModelViewSet):
|
|||||||
class ConnectionViewSet(viewsets.ModelViewSet):
|
class ConnectionViewSet(viewsets.ModelViewSet):
|
||||||
"""API endpoint that allows connections to be seen or created
|
"""API endpoint that allows connections to be seen or created
|
||||||
"""
|
"""
|
||||||
permission_classes = [IsAuthenticated]
|
# permission_classes = [IsAuthenticated]
|
||||||
queryset = Connection.objects.all()
|
queryset = Connection.objects.all()
|
||||||
serializer_class = ConnectionSerializer
|
serializer_class = ConnectionSerializer
|
||||||
# Make connections somewhat immutable from the users perspective
|
# Make connections somewhat immutable from the users perspective
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user