انتقل إلى المحتوى الرئيسي

oauthSignUp

User registration (authorization) via OAUTH.

Method accepts the body as a parameter.

AuthProvider?.oauthSignUp( marker?, body?, langCode? );

Minimal example

const body ={"client_id": "34346983-luuct343473qdkqidjopdfp3eb3k4thp.apps.googleusercontent.com",?"client_secret": "43434343434",?"code": "4/0AVMBsJgwewewewewewei4D7T6E_fbswxnL3g",?"grant_type": "authorization_code",?"redirect_uri": "http://localhost:3000"?}
const value = await AuthProvider.oauthSignUp('email', body)
Schema