Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google login #86

Open
Vivek205 opened this issue Jul 29, 2019 · 1 comment
Open

google login #86

Vivek205 opened this issue Jul 29, 2019 · 1 comment
Assignees

Comments

@Vivek205
Copy link
Contributor

No description provided.

@Vivek205 Vivek205 self-assigned this Jul 29, 2019
@raamb raamb reopened this Jul 31, 2019
Vivek205 added a commit that referenced this issue Aug 19, 2019
* added features data into constants also div for free trail sign up

* added features data into constants also div for free trail sign up

* added styling

* confirm delete modal

* confirm Delete popup styled

* Extracting bulletPoint to separate compoent and commenting dropDown and reason

* eslint:fix

* worked on PR reviews

* feedback functionality flow done

* bifurcating endpoint CONTRACT and USER... linted SDK

* added key to map iterable

* react/jsx-key

* arrow function has to return something

* handling empty filter during filter change

* proptype of Value must be number for StarRatingComponent

* eslint:fix

* usermenu item has no styling so no need of separate folder

* moving wallet endpoint to APIEndpoints

* adding styles for usermenuItem

* GET_SERVICE_LIST -> USER

* allowing older serviceExecutionProcess untill all the services are integrated with sdk

* confirm delete error and stop loader

* gitignore vscode settings

* let -> const

* created a method to construct myInit

* deleted .vs folder

* added IDE files in gitignore

* New folder for completed actions

* <CompletedActions />

* <UserFeedback />

* Passing the parent props to the StyledTextField.

* working on userFeedback

* submit feedback

* fetchFeedbackAPI: user_address -> username

* converted userRating to float string

* added styling

* feedback functionality flow done

* bifurcating endpoint CONTRACT and USER... linted SDK

* added key to map iterable

* react/jsx-key

* arrow function has to return something

* handling empty filter during filter change

* proptype of Value must be number for StarRatingComponent

* eslint:fix

* usermenu item has no styling so no need of separate folder

* moving wallet endpoint to APIEndpoints

* adding styles for usermenuItem

* GET_SERVICE_LIST -> USER

* allowing older serviceExecutionProcess untill all the services are integrated with sdk

* let -> const

* created a method to construct myInit

* lint: unused var & key for map

* removed unused import and refactored titles

* eslint:fix

* passing only the active content to FeatureMedia

* separate containers for separate media types

* passing content to the media containers

* converted Category into a functional component

* fixed media props of FeatureMedia

* created a component for get started and addded route

* re-arranged routes

* created vertical tabs

* full width to tabs

* iterated throught data for categories

* added get started button part

* added features

* added features data into constants also div for free trail sign up

* added features data into constants also div for free trail sign up

* worked on PR reviews

* removed unused import and refactored titles

* eslint:fix

* passing only the active content to FeatureMedia

* separate containers for separate media types

* passing content to the media containers

* converted Category into a functional component

* fixed media props of FeatureMedia

* commenting sandbox mode to fix build

* Move protospec out of state

* Code slipt for third party ai service components

* Simplify setState

* Extract SnetApp component

* Make fetching of user feedback optional for sandbox mode

* Disable capture feedback for sandbox mode

* Reformat code

* Read org_id and service_id from env for sandbox mode

* new marketplace API gateway integration

* removed username from feedbackSubmit

* removed unnecessary prevState in setState

* added useEffect to update the feedback after refetching

* parsing assets for hero_image

* <CompletedActions />

* <UserFeedback />

* working on userFeedback

* submit feedback

* comfirm delete component

* Confirm delete functionality

* confirm delete modal

* confirm Delete popup styled

* Extracting bulletPoint to separate compoent and commenting dropDown and reason

* eslint:fix

* feedback functionality flow done

* usermenu item has no styling so no need of separate folder

* allowing older serviceExecutionProcess untill all the services are integrated with sdk

* confirm delete error and stop loader

* gitignore vscode settings

* deleted .vs folder

* added IDE files in gitignore

* new marketplace API gateway integration

* removed username from feedbackSubmit

* removed unnecessary prevState in setState

* added useEffect to update the feedback after refetching

* parsing assets for hero_image

* eslint:fix

* typo: legnth -> length

* removed username from updateProfile

* deleted commented code

* syncing the props with local state

* Arranged imports

* renamed: generateAPIInit -> initializeAPIOptions

* Move example service to new directory structure

* renamed: myInit -> apiOptions

* removed the componentDidUpdate

* Fix lint issues

* handled empty feedback

* cntk img recognition using sdk

* getValue()

* serviceRequestComplete handler should be at the last

* moved cntkImgRecon to appropriate dir heirarchy

* stubs with namespace

* using snakeCase for directory

* updating the import 

Updating the import of `const CNTKImageRecognition = lazy(() => import("./snet/cntk-image-recon"));` -> `const CNTKImageRecognition = lazy(() => import("./snet/cntk_image_recon"));` to fix the code_build.

* sdk integration CNTK-Language-understanding

* Error Boundary for ThirdPartyAIServices

* moved org_id with snet to snet folder

* error boundary for AI services

* stubs for face-align

* setup request for face-align

* loader and reset-run

* isComplete and reset-run lang_understanding

* parsing response face-align

* isComplete and reset-run face_align

* removed unused <p>

* zeta36 chess and alpha is moved to new folder inside snet

* Metering service endpoint setup

* fetching metering data

* added eslint disable on chess-service stubs

* typo in APIEndpoints

* parsing the StarRatingComponent's props

* created purchase tab and its content for demo example.added styling for info box

* deleted unused props

* Purchase Toggler

* computeActiveSection

* freeCallsRemaining

* added two components active session and expired session for purcahse

* UserProfile Account

* Grid for Account

* props to StyledDropDown

* Free/Regular calls

* error boundary

* metadata for free call

* alertbox: lint

* getMethodNAmes from prop

* ActiveSession - Expired Session

* Metering API

* error handling on End

* free-trial-testing changes

* Simplify metadata generation

* Make getMethods private

* fetchAuthToke -> fetchAuthToken

* Remove duplicate code

* uncomment fetFreeCall and reset purchaseCompleted

* returning base64 string - signature

* lint:fix

* fetching user Details - email & token

* passing emailId to metering service

* reset-run example-service

* /:serviceRowId -> org/:a/service/:/b

* extracted fetchAuthUser

* metering: user_id -> username

* commenting pricingStrategy

* serviceMetaData

* fetchAuthUser

* facilitate serviceList -> details flow

* removed redundant thro

* MeteringDataSuccess

* moved: freeCallsRemaining to redux

* freeCallsAllowed

* using dappUser gateway for metering service

* alert Link

* renamed fetchAuthUser -> fetchAuthenticatedUser

* removed the {"  "}

* moved serviceMetadata  -> serviceDetailsReducer

* moved freeCalls -> serviceDetailsReducer

* waiting for fetchMeteringData in Purchase </>

* extracted demoProgressStatus -> enum

* included isTermsAccepted in userReducer.

* updating the isTermsAccepted flag

* userProfileAPI call -> updating isTermsAccepted

* update isWalletAssigned and isTermsAccepted

* eslint objectShorthand

* handleSubmit -> TermsofUse

* New login - registration flow

* isWalletAssigned -> walletAddress

* walletAddress -> wallet

* workAround to accomodate /profile API

* Add defaults for sandbox mode

* Move third party service custom ui to new structure

* removed duplicate fetchAuthenticatedUser

fetchAuthenticatedUser was already declared, duplicate was added while resolving conflict. removed it.
@Vivek205
Copy link
Contributor Author

Parking the ticket now due to the below issues:

  • The JWT token which Auth.federatedSignIn() returns is not the Cognito token, so unable to make API calls using that.
  • The identity pool created by google-login is not same as the existing cognito user pool.

Few possible leads for reopening.

  • The hosted-ui of the AWS-Amplify provides some way to integrate cognito pool and federated pool. cost: have to replace all the authentication part of the DApp with AWS-Amplify hosted ui.

Few links to refer.

ramongduraes pushed a commit to ramongduraes/snet-dapp that referenced this issue Apr 10, 2020
Fixed the issue where downvote was always treated as the negation of the
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants