How to handle django users across separate microservices?

Submitted 3 years, 9 months ago
Ticket #47
Views 300
Language/Framework Python
Priority Urgent
Status Closed

I am currently having a single database for service_1 and service_2. Now a client wants to make it a separate microservices that can only talk to each other by using API

Now I have this tables in service_1:

custom user table, and tokens

Now in service_2, I will be needing the exact table [custom user table, and tokens] to be used for authentication.

How do I implement this?

Submitted on Jul 28, 20
add a comment

1 Answer

@Radysonabu. I see couple of tickets you have submitted in past but not active response over there. Kindly response at the earliest for the ticket you are submitting, So that it would be easy to address the issue.

Submitted 3 years, 9 months ago

I think better approach is keep Central Authentication Service (CAS) for User authentication instead of creating the duplicating the user tables right?. How about thinking this approach?

- scott 3 years, 9 months ago

I'm sorry about that. The internet connection is not that good here in my place. I read some blog about CAS but I don't really understand what they mean by using CAS like CAS-ng and CAS-mama-ng

- RadySonabu 3 years, 9 months ago

can we connect and discuss more about this?

- Vengat 3 years, 9 months ago

Yes. Some of the CAS available doesn't support newer version of django. How do we connect?

- RadySonabu 3 years, 9 months ago

Or you can JWT auth token to handle the 2 different service API. You can separate the database for 2 services and you can use JWT auth token method which is access the API. We can connect in zoom if you would like

- Vengat 3 years, 9 months ago

yes we can. give me details. thanks. Sorry for the late reply, the internet connection here is not that reliable.

- RadySonabu 3 years, 9 months ago

How about Tomorrow(Wednesday 6 PM PST) ?

- Vengat 3 years, 9 months ago

We would suggest to response at the earliest. Otherwise please close the ticket. Looks like you are not continuously responding to the ticket which you are raising. Please spend your time to response to your ticket. Otherwise we will not allow to create HIGH/URGENT ticket in future. Thanks for understanding.

- Vengat 3 years, 9 months ago


Latest Blogs