Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 9e39bbb

Browse files
committed
Merge pull request angular-oauth#12 from sheniff/feature/custom_response_type
Allow configurable response type
2 parents c160ea9 + 1117ee0 commit 9e39bbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/angularOauth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ angular.module('angularOauth', []).
6969
// TODO: Facebook uses comma-delimited scopes. This is not compliant with section 3.3 but perhaps support later.
7070

7171
return {
72-
response_type: RESPONSE_TYPE,
72+
response_type: config.responseType || RESPONSE_TYPE,
7373
client_id: config.clientId,
7474
redirect_uri: config.redirectUri,
7575
scope: config.scopes.join(" ")

0 commit comments

Comments
 (0)