By: Neeraj Tati user 16 Jun 2016 at 11:22 p.m. CDT

3 Responses
Neeraj Tati gravatar
Hi Team, We want to use Gluu for one of our OpenID Connect requirement. Requirement: 1. Customer open a mobile application. 2. Mobile app client will ask for user's mobile number. 3. The mobile number will be posted over OpenID Connect protocol. 4. In our Gluu server deployment, we should be able to collect the mobile number and send a sms to end user with a URL to click. 5. As soon as user clicks on URL in SMS, authentication should be completed, and response should be sent back to mobile app client. 6. Mobile app client should be able to log user in. Query: We want to know if we use Gluu OpenID connect APIs, can we use sms base authentication method in these standard OpenID connect APIs exposed by Gluu? How Gluu server does authentication over OpenID Connect? what's the minumum information that is needed for Gluu to perform authentication. Let me know if it is feasible out of the box or through customization

By Michael Schwartz Account Admin 16 Jun 2016 at 11:30 p.m. CDT

Michael Schwartz gravatar
I started on a Twilio authn script, but didn't test it. Schedule a meeting if you want an overview: http://gluu.org/booking during US business hours.

By Michael Schwartz Account Admin 19 Jun 2016 at 9 p.m. CDT

Michael Schwartz gravatar
Here are some more comments: 1. You application should use the appAuth Libraries for OpenID Connect Authentication. - list text hereWeb Views is not secure. See these best practices: - [IETF Draft on mobile oauth2 best practices](http://www.gluu.co/mobile-oauth2 - [AppAuth Android Client](http://www.gluu.co/app-auth-android) - [AppAuth IOS Client]([http://www.gluu.co/app-auth-ios) 2) When you call the authorize endpoint during the authentication request, make sure you specify the acr that corresponds to the "Name" of the custom authentication script. 3) I recommend looking up the mobile number for the person in LDAP, sending a random code to the person's mobile--writing that code to the pre-authentication session context for that browser. In the sample scripts, you'll see : ``` context = Contexts.getEventContext() context.set("variable", "x") context.get("variable") ``` Once you've authenticated the person, you'll have a session in the browser which can be used by any app or even the browser for SSO. It is highly recommended that you review the OpenID Connect Specs, especially the implementers guide on [http://openid.net/connect](http://openid.net/connect) Note, for secure mobile authentication, you'll also have to use PKCE. If you need priority support, I suggest TechMahindra of the end client purchase a commercial Gluu Support subscription.

By Florin Sfetea user 13 Feb 2019 at 4:54 a.m. CST

Florin Sfetea gravatar
Is there any support for own sms gateway(s)?