Skip to content

Update documentation #48

@samwelkanda

Description

@samwelkanda

Where did you get the code?

Followed the tutorial from Microsoft Graph tutorials

Describe the bug

There is a typo in the documentation that refers to a non-existent function, get_sign_in_url leading to unnecessary ImportError.

from tutorial.auth_helper import get_sign_in_url, get_token_from_code, store_user, remove_user_and_token, get_token

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Python tutorial main page'
  2. Click on 'Step 3: Add Azure AD authentication'
  3. Scroll down to 'Step 5 under Get user details'
  4. See typo

Expected behavior

from tutorial.auth_helper import get_sign_in_flow, get_token_from_code, store_user, remove_user_and_token, get_token

Screenshots

graph_python_typo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions