Last active
December 18, 2015 07:09
-
-
Save nialdarbey/5744743 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<oauth2-provider:config | |
host="0.0.0.0" | |
port="8081" | |
name="oauth2-provider" | |
accessTokenEndpointPath="access-token" | |
scopes="READ WRITE" | |
resourceOwnerSecurityProvider-ref="security-provider" | |
supportedGrantTypes="IMPLICIT RESOURCE_OWNER_PASSWORD_CREDENTIALS" | |
tokenTtlSeconds="300" | |
enableRefreshToken="true" | |
authorizationEndpointPath="authorization-code" | |
loginPage="login.html" | |
connector-ref="httpsConnector" | |
doc:name="OAuth provider module"> | |
<oauth2-provider:clients> | |
<oauth2-provider:client clientId="customer-web-app" type="PUBLIC" clientName="Web UI" description="Javascript web UI"> | |
<oauth2-provider:authorized-grant-types> | |
<oauth2-provider:authorized-grant-type>PASSWORD</oauth2-provider:authorized-grant-type> | |
</oauth2-provider:authorized-grant-types> | |
<oauth2-provider:scopes> | |
<oauth2-provider:scope>READ</oauth2-provider:scope> | |
</oauth2-provider:scopes> | |
</oauth2-provider:client> | |
<oauth2-provider:client clientId="admin-web-app" type="PUBLIC" clientName="Private Web UI" description="Javascript web UI"> | |
<oauth2-provider:authorized-grant-types> | |
<oauth2-provider:authorized-grant-type>PASSWORD</oauth2-provider:authorized-grant-type> | |
<oauth2-provider:authorized-grant-type>REFRESH_TOKEN</oauth2-provider:authorized-grant-type> | |
</oauth2-provider:authorized-grant-types> | |
<oauth2-provider:scopes> | |
<oauth2-provider:scope>READ</oauth2-provider:scope> | |
<oauth2-provider:scope>WRITE</oauth2-provider:scope> | |
</oauth2-provider:scopes> | |
</oauth2-provider:client> | |
</oauth2-provider:clients> | |
</oauth2-provider:config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment