GitLab wurde erfolgreich aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Danke für Ihre Geduld.

Commit effc6c17 authored by Mehdy Khoshnoody's avatar Mehdy Khoshnoody should use the provider's URL which is

parent a50cd9eb
......@@ -57,7 +57,7 @@ Once you have the authorization code you can request an `access_token` using the
parameters = 'client_id=APP_ID&client_secret=APP_SECRET&code=RETURNED_CODE&grant_type=authorization_code&redirect_uri=REDIRECT_URI' 'http://localhost:3000/oauth/token', parameters '', parameters
# The response will be
......@@ -77,13 +77,13 @@ You can now make requests to the API with the access token returned.
The access token allows you to make requests to the API on a behalf of a user.
GET https://localhost:3000/api/v3/user?access_token=OAUTH-TOKEN
Or you can put the token to the Authorization header:
curl --header "Authorization: Bearer OAUTH-TOKEN" https://localhost:3000/api/v3/user
curl --header "Authorization: Bearer OAUTH-TOKEN"
## Resource Owner Password Credentials
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment