We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b97c1c2 + 3e8e948 commit cea4c05Copy full SHA for cea4c05
generated/browser/js/app.js
@@ -6,6 +6,10 @@ app.config(function ($urlRouterProvider, $locationProvider) {
6
$locationProvider.html5Mode(true);
7
// If we go to a URL that ui-router doesn't have registered, go to the "/" url.
8
$urlRouterProvider.otherwise('/');
9
+ // Trigger page refresh when accessing an OAuth route
10
+ $urlRouterProvider.when('/auth/:provider', function () {
11
+ window.location.reload();
12
+ });
13
});
14
15
// This app.run is for controlling access to specific states.
0 commit comments