diff --git a/frontend/src/components/Oauth2Auth.jsx b/frontend/src/components/Oauth2Auth.jsx index 634ccf67..be7a8088 100644 --- a/frontend/src/components/Oauth2Auth.jsx +++ b/frontend/src/components/Oauth2Auth.jsx @@ -311,10 +311,7 @@ const AuthenticationOauth2 = (props) => { - - Oauth2 requires a client ID and secret to authenticate. This is - usually made in the remote system. - + Oauth2 requires a client ID and secret to authenticate, defined in the remote system. Your redirect URL is https://shuffler.io/set_authentication. { ); })} - {allscopes.length === 0 ? null : ( - } - renderValue={(selected) => selected.join(", ")} - MenuProps={MenuProps} - > - {allscopes.map((data, index) => { - return ( - - -1} /> - - - ); - })} - - )} { color: "white", marginLeft: "5px", maxWidth: "95%", - height: 50, fontSize: "1em", + height: "50px", }, }} fullWidth @@ -505,14 +476,15 @@ const AuthenticationOauth2 = (props) => { style={{ backgroundColor: theme.palette.inputColor, borderRadius: theme.palette.borderRadius, + marginBottom: 10, }} InputProps={{ style: { color: "white", marginLeft: "5px", maxWidth: "95%", - height: 50, fontSize: "1em", + height: "50px", }, }} fullWidth @@ -523,6 +495,36 @@ const AuthenticationOauth2 = (props) => { //authenticationOption.label = event.target.value }} /> + {allscopes.length === 0 ? null : ( + + Scopes + } + renderValue={(selected) => selected.join(", ")} + MenuProps={MenuProps} + > + {allscopes.map((data, index) => { + return ( + + -1} /> + + + ); + })} + + + )} )}