mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-15 16:43:50 +08:00
Fix double GET params issue, fix double state bug.
This commit is contained in:
@ -31,8 +31,7 @@ class AuthCallback extends React.Component {
|
||||
|
||||
componentWillMount() {
|
||||
const params = new URLSearchParams(this.props.location.search);
|
||||
let redirectUri;
|
||||
redirectUri = `${window.location.origin}/callback/${this.state.applicationName}/${this.state.providerName}/${this.state.method}`;
|
||||
let redirectUri = `${window.location.origin}/callback/${this.state.applicationName}/${this.state.providerName}/${this.state.method}`;
|
||||
const body = {
|
||||
application: this.state.applicationName,
|
||||
provider: this.state.providerName,
|
||||
|
Reference in New Issue
Block a user