Azure-Samples / Azure-Samples/ms-identity-docs-code-python
Various bugs following change to ms_identity_python library
- Linguagem predominante
- Python
- Estrelas
- 62
- Forks
- 29
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
It looks like this app has not been run/tested since someone changed the library to `ms_identity_python`
Can you please advise whether this instance is deprecated, ie. are there other options to authenticate through Django for a downstream request to an externa API? This lib looked quite neat.
In settings.py:
-there is no `scopes` keyword in an `Auth ` object so this instantiation fails
-in settings.py, the following line does not work in INSTALLED_APPS as there is no app called 'identity'
"identity", # To utilize the default templates came with the identity package
> Please provide us with the following information:
> ---------------------------------------------------------------
### This issue is for a: (mark with an `x`)
```
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```
### Minimal steps to reproduce
> follow the documentation - there are a few bugs following the change to ms_identity_python and the example does not work
### Any log messages given by the failure
> various errors
### Expected/desired behavior
> app does not run
### OS and Version?
> Windows 8, 10, or 11. Linux (which distribution). macOS (Mojave? Catalina? Big Sur? Monterey?)
Linux (not relevant)
### Versions
> Django 4.0.2 python
### Mention any other details that might be useful
In settings.py:
-there is no scopes keyword in an Auth object so this fails
-in settings.py, the following line does not work in INSTALLED_APPS as there is no app called 'identity'
"identity", # To utilize the default templates came with the identity package
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.
Guia de contribuição
Direção de pesquisa
Start with settings.py and compare the Auth object configuration and INSTALLED_APPS entry against the current ms_identity_python documentation and this repository's sample setup. Reproduce the missing scopes keyword and missing identity app errors; done means the documented example runs with a supported authentication configuration or the obsolete instance and alternatives are clearly documented.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- django, python
- Domínio
- authentication, backend
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100