Эх сурвалжийг харах

Generic values for Oauth 2 configuration

David A. Velasco 12 жил өмнө
parent
commit
1ee5b70d94

+ 3 - 3
res/values/oauth2_configuration.xml

@@ -10,13 +10,13 @@
     <string name="oauth2_redirect_uri">owncloud://callback</string>
     
     <!-- values that should be provided by ownCloud server -->
-    <string name="oauth2_url_endpoint_auth">http://owncloud.tuxed.net/oauth/php-oauth/authorize.php</string>
-    <string name="oauth2_url_endpoint_access">http://owncloud.tuxed.net/oauth/php-oauth/token.php</string>
+    <string name="oauth2_url_endpoint_auth">http://oauth2.authorization.server.org/paht/to/endpoint/for/authorization</string>
+    <string name="oauth2_url_endpoint_access">http://oauth2.authorization.server.org/paht/to/endporint/for/access/token</string>
     <string name="oauth2_scope">owncloud</string>
     <string name="oauth2_grant_type">authorization_code</string>	<!-- the only one supported right now -->
     <string name="oauth2_response_type">code</string>				<!-- depends on oauth2_grant_type -->
     
-    <!-- values that should be agreed between app and authorization server, but can be loaded without rebuilding the app -->
+    <!-- values that should be pre-agreed between app and authorization server, but can be loaded without rebuilding the app -->
     <string name="oauth2_client_id">com.owncloud.android</string>	<!-- preferable that client decides this -->
     <string name="oauth2_client_secret"></string>					<!-- preferable that client decides this -->