diff --git a/src/services/authFlow/AuthFlow.js b/src/services/authFlow/AuthFlow.js index 418fe18..b46e78f 100644 --- a/src/services/authFlow/AuthFlow.js +++ b/src/services/authFlow/AuthFlow.js @@ -96,7 +96,12 @@ export default class AuthFlow implements AuthContext { * @param {object} options.replace */ this.navigate = (route: string, options: {replace?: bool} = {}) => { - if (this.getRequest().path !== route) { + const { path: currentPath } = this.getRequest(); + if (currentPath !== route) { + if (currentPath.startsWith('/oauth2/v1') && options.replace === undefined) { + options.replace = true; + } + this.currentRequest = { path: route, params: {},