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 ba30fab + 760b0c4 commit b6c3892Copy full SHA for b6c3892
popup-app/components/IdpSelect.js
@@ -64,13 +64,7 @@ class IdpSelect extends React.Component {
64
...loginOptions,
65
storage: postMessageStorage(window.opener, appOrigin)
66
}
67
- const maybeSession = await login(idp.url, loginOptions)
68
- if (typeof maybeSession === 'object') {
69
- await request({ method: 'foundSession', args: [maybeSession] })
70
- window.close()
71
- } else if (typeof maybeSession === 'function') {
72
- maybeSession()
73
- }
+ await login(idp.url, loginOptions)
74
75
76
render() {
0 commit comments