SanFelipeStudios / RomeTwo

Second Project, focused on practical design
0 stars 0 forks source link

Add Sign In With Google #14

Open nicholasri opened 1 year ago

nicholasri commented 1 year ago

Sign In With Google

As an iOS Engineer, I would like to add SIWG OAuth to the login view of our application. This feature should use the authentication integrations from MongoDB Atlas. Documentation below:

MongoDB Google Auth Docs: https://www.mongodb.com/docs/realm/sdk/swift/users/authenticate-users/#google-user

Acceptance Criteria

Given When Then
A User Opens the application The User IS NOT logged in The user can login using Apple Credentials
"" "" The user can login using Google Credentials
"" The use IS logged in The user is taken directly to the first view of the application
An OAuth Request A user logs in Create a Session Token
A LogOut Button A user Logs Out The session token is invalidated and the user is taken back to the login screen