@@ -4,7 +4,7 @@ For general information about the different OAuth 2.0 grant types please see
44the [ Overview of Osiam]
55(https://github.com/osiam/osiam/blob/master/docs/OSIAM-Overview.md#oauth-20 ).
66A more technical explanation can be found in the [ API documentation]
7- (https://github.com/osiam/auth-server /blob/master/docs/api_documentation.md#oauth2 ).
7+ (https://github.com/osiam/osiam /blob/master/docs/api_documentation.md#oauth2 ).
88
99Table of contents
1010- [ Retrieving an access token] ( login-and-getting-an-access-token.md#retrieving-an-access-token )
@@ -18,25 +18,25 @@ Table of contents
1818You access token will have some scopes to grant access to the different
1919procedures.
2020
21- The supported scopes in OSIAM are listed [ here] (https://github.com/osiam/auth-server /blob/master/docs/api_documentation
21+ The supported scopes in OSIAM are listed [ here] (https://github.com/osiam/osiam /blob/master/docs/api_documentation
2222.md#supported-scopes)
2323
2424With ** new Scope("your scope");** you can also create and add your own scopes that you need an your application
2525
2626# Retrieving an access token
2727
28- In a trusted environment getting an access token from the OAuth 2.0 server
29- implies a successful login of the user.
28+ In a trusted environment getting an access token from OSIAM implies a successful
29+ login of the user.
3030
31- ## [ Authorization Code Grant] ( https://github.com/osiam/auth-server /blob/master/docs/api_documentation.md#authorization-code-grant )
31+ ## [ Authorization Code Grant] ( https://github.com/osiam/osiam /blob/master/docs/api_documentation.md#authorization-code-grant )
3232
3333The authorization code grant should always be used as default grant, as other
3434grants are less secure and should only be used if you know what you are doing.
3535
3636It takes to steps to get an access token using the authorization code grant:
3737
38- 1 . Redirect the user to the OAuth 2.0 server and let the user login. You will
39- get an ** auth code** .
38+ 1 . Redirect the user to OSIAM and let the user login. You will get an
39+ ** auth code** .
40402 . Send the auth code to the OAuth 2.0 in exchange for the access token.
4141
4242To do so follow these steps:
@@ -45,12 +45,12 @@ To do so follow these steps:
4545
4646 OsiamConnector oConnector = [ Retrieving an OsiamConnector] ( create-osiam-connector.md#grant-authorization-code )
4747
48- * Redirect the user to the Auth Server . You can get the redirect URI with the
48+ * Redirect the user to OSIAM . You can get the redirect URI with the
4949following command:
5050
5151 URI redirectURI = oConnector.getRedirectLoginUri(Scope.GET, Scope.PUT);
5252
53- * After the user is successfully authenticated the auth server redirects the
53+ * After the user is successfully authenticated, OSIAM redirects the
5454user back to your application's redirect URI.
5555
5656* If everything went fine you will receive the following parameter
@@ -61,7 +61,7 @@ user back to your application's redirect URI.
6161
6262 <YOUR_REDIRECT_URI>?error=access_denied&error_description=User+denied+access
6363
64- * Send the auth code to the auth server in order to get the access token
64+ * Send the auth code to OSIAM in order to get the access token
6565
6666 AccessToken accessToken = oConnector.retrieveAccessToken(<AUTHENTICATION_CODE>);
6767
@@ -73,9 +73,9 @@ AccessToken the following way
7373
7474 AccessToken accessToken = new AccessToken.Builder(<token>).build();
7575
76- ## [ Resource Owner Password Credentials Grant] ( https://github.com/osiam/auth-server /blob/master/docs/api_documentation.md#resource-owner-password-credentials-grant )
76+ ## [ Resource Owner Password Credentials Grant] ( https://github.com/osiam/osiam /blob/master/docs/api_documentation.md#resource-owner-password-credentials-grant )
7777and
78- ## [ Client Credentials Grant] ( https://github.com/osiam/auth-server /blob/master/docs/api_documentation.md#client-credentials-grant )
78+ ## [ Client Credentials Grant] ( https://github.com/osiam/osiam /blob/master/docs/api_documentation.md#client-credentials-grant )
7979
8080The OSIAM Connector4java allows you to retrieve an
8181** org.osiam.client.oauth.accessToken** . The access token is required to access
0 commit comments