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

Documentation Authentification API oauth/token/info #792

Open
TheMalloum opened this issue Jan 29, 2025 · 2 comments
Open

Documentation Authentification API oauth/token/info #792

TheMalloum opened this issue Jan 29, 2025 · 2 comments

Comments

@TheMalloum
Copy link
Contributor

Bonjour,

Notre context:

Nous utilisons uniquement la partie front du PIA , la partie back a été générée à partir du fichier swagger.yaml

Problème

Nous avons remarqué sur la version 3.2 , l’apparition d’une nouvelle API : oauth/token/info, qui semble gérer l’authentification.

Demande

Pourriez-vous nous fournir la documentation associée ? Nous aimerions comprendre les informations qu’elle renvoie, ainsi que la manière de poursuivre la gestion de l’authentification par cookies, entre autres aspects.

Merci d’avance pour votre retour.

@brunto
Copy link
Collaborator

brunto commented Jan 29, 2025

Bonjour @TheMalloum

Nous utilisons doorkeeper pour cela => https://github.com/doorkeeper-gem/doorkeeper

Pour les routes => https://doorkeeper.gitbook.io/guides/ruby-on-rails/routes

@TheMalloum
Copy link
Contributor Author

TheMalloum commented Jan 30, 2025

Bonjour @brunto

Dans notre situation, nous avons nous-mêmes implémenté la partie back-office via le fichier swagger.yaml. Pour les personnes qui ne souhaitent pas utiliser cette méthode d’authentification et préfèrent conserver l’authentification par cookies, comment procéder ? Ou bien, comment remplacer cette authentification par une costum ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants