Skip to content

Commit c5b1252

Browse files
Potential google login
1 parent 6d2369c commit c5b1252

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/App/App.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ Amplify.configure({
2828
},
2929
});
3030

31+
const federated = {
32+
google_client_id: '16334723743-2ur441vpk6282nbj8fgqjrfmm4bo79rc.apps.googleusercontent.com',
33+
};
34+
3135
// Entry point of the Flitped App
3236
function App() {
3337
const [, setUser] = useState(null);
@@ -109,6 +113,6 @@ function App() {
109113
);
110114
}
111115

112-
export default withAuthenticator(App, undefined, undefined, undefined, undefined, {
116+
export default withAuthenticator(App, undefined, undefined, federated, undefined, {
113117
hiddenDefaults: ['phone_number'],
114118
});

0 commit comments

Comments
 (0)