D
D
Danil Andreev2020-03-27 09:06:16
Java
Danil Andreev, 2020-03-27 09:06:16

How to organize authorization?

There is the following situation. There is a backend built on Spring Boot and a frontend on React. There was a question of the organization of authorization from FrontEnd. Those. so that when the user logs in from the frontend, he receives a token with which he signed all other requests. At first I wanted to do it using JWT, but now I'm thinking about doing it through Google's OAuth. Perhaps I misunderstand something, so I would like to hear criticism of this decision.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Shvyrev, 2020-03-27
@WindowsExpert

keycloak. It will be easier to customize in react.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question