I
I
Ivan Vorobei2016-05-07 23:59:28
API
Ivan Vorobei, 2016-05-07 23:59:28

How to implement REST API with generic account?

I can't figure out how to optimally organize the interaction of two APIs:
The first API stores password accounts, the second is a project. To enter the project - you need to enter the login-password from the universal account (the first API). And so for all future projects.
The question is not in the specific implementation, but in the idea.
PS SSO - not what you need. The goal is not single sign-on, but a single account.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Defman21, 2016-05-08
@ivanvorobei

You make a single authorization center in any convenient form (RESTFUL), in projects you create authorization functions using a single center. It is better to register an account not in projects, but on the main page of this center. All TM services use this approach (Habr, Megamind, Giktimes, Toaster), see how they implement it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question