angular-oauth2
angular-oauth2 copied to clipboard
Set OAuthTokenProvider secure option automatically
Right now, the OAuthTokenProvider secure
option is true
by default. While this can be configured by the developer, we can improve this by setting it automatically based on $location.protocol()
.
Refs #21.
+1
+1