Open tech-andgar opened 4 years ago
Hi @andgar2010 Unfortunately, I can not understand what you are trying to achieve here.
Currently /:project/auth/authenticate
support the email
, password
.
If you want to add support for login via Facebook or Google, Please follow the SSO guide
Hi, @andgar2010 Any updates?
Hi @hemratna, Sorry I'm late. I haven't answered for days. I'm going to explain the case:
The client does not need web access for SSO authentication to obtain jwt, because the client already has SSO authentication (fb, google, etc) from APP and/or another page. I need how to make it implement different standard authentication method (mail and password) to the SSO token to get jwt from directus.
@andgar2010 May be https://docs.directus.io/api/authentication.html#sso-callback will help.
• Version of Directus 8.4.0 (DigitalOcean)
• PHP version 7.2.24-0ubuntu0.18.04.2
• MySQL version Server version: 5.7.29-0ubuntu0.18.04.1 (Ubuntu)
• Webserver + version server Apache/2.4.29 (Ubuntu)
• Error message (if any) • Steps to reproduce
I have a problem authenticating for Request login access API, (http://{{ baseUrl }}/{{ projectUrl }}/auth/authenticate) but it’s not email or password. Third party token access like facebook or google token but from API (not from UI dashboard). Try to do it by creating webhook, but I don’t know what is not good method.