docs: standardise account md names

This commit is contained in:
loks0n
2024-01-13 09:32:03 +00:00
parent 642582c283
commit d2ff3f6bb8
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ App::get('/v1/account/sessions/oauth2/:provider')
->label('sdk.auth', [])
->label('sdk.namespace', 'account')
->label('sdk.method', 'createOAuth2Session')
->label('sdk.description', '/docs/references/account/create-session-oauth2.md')
->label('sdk.description', '/docs/references/account/create-oauth2-session.md')
->label('sdk.response.code', Response::STATUS_CODE_MOVED_PERMANENTLY)
->label('sdk.response.type', Response::CONTENT_TYPE_HTML)
->label('sdk.methodType', 'webAuth')
+1 -1
View File
@@ -1 +1 @@
Use this endpoint to complete creating the session with a custom session token. Both the **userId** and **secret** arguments will be returned in the response body when sending your request to the [POST /users/:userId/sessions](https://appwrite.io/docs/references/cloud/server-nodejs/users#createToken) endpoint.
Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.