Answer the question
In order to leave comments, you need to log in
How to implement OAuth2 authorization for clients with access code type?
There is a java project where it is necessary to implement oauth2 authorization for clients.
It was decided to use the access code grant type. The project uses Apache Oltu to implement oauth2 authorization.
To begin with, the client must request:
/oauth/authorize?response_type=code&client_id=CLIENT_ID&redirect_uri=CALLBACK_URL&scope=read, where the user will have to confirm permission for the client to use all the listed scopes (in this case, read).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question